Class: AWSCDK::S3Outposts::CfnAccessPoint::VPCConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Outposts::CfnAccessPoint::VPCConfigurationProperty
- Defined in:
- s3_outposts/cfn_access_point.rb
Overview
Contains the virtual private cloud (VPC) configuration for the specified access point.
Instance Attribute Summary collapse
-
#vpc_id ⇒ String?
readonly
Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_id: nil) ⇒ VPCConfigurationProperty
constructor
A new instance of VPCConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_id: nil) ⇒ VPCConfigurationProperty
Returns a new instance of VPCConfigurationProperty.
553 554 555 556 |
# File 's3_outposts/cfn_access_point.rb', line 553 def initialize(vpc_id: nil) @vpc_id = vpc_id Jsii::Type.check_type(@vpc_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcId") unless @vpc_id.nil? end |
Instance Attribute Details
#vpc_id ⇒ String? (readonly)
Virtual Private Cloud (VPC) Id from which AccessPoint will allow requests.
562 563 564 |
# File 's3_outposts/cfn_access_point.rb', line 562 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
564 565 566 567 568 |
# File 's3_outposts/cfn_access_point.rb', line 564 def self.jsii_properties { :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
570 571 572 573 574 575 576 |
# File 's3_outposts/cfn_access_point.rb', line 570 def to_jsii result = {} result.merge!({ "vpcId" => @vpc_id, }) result.compact end |