Class: AWSCDK::S3Express::CfnAccessPoint::VPCConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Express::CfnAccessPoint::VPCConfigurationProperty
- Defined in:
- s3_express/cfn_access_point.rb
Overview
The Virtual Private Cloud (VPC) configuration for a bucket access point.
Instance Attribute Summary collapse
-
#vpc_id ⇒ String?
readonly
If this field is specified, this access point will only allow connections from the specified VPC ID.
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.
775 776 777 778 |
# File 's3_express/cfn_access_point.rb', line 775 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)
If this field is specified, this access point will only allow connections from the specified VPC ID.
784 785 786 |
# File 's3_express/cfn_access_point.rb', line 784 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
786 787 788 789 790 |
# File 's3_express/cfn_access_point.rb', line 786 def self.jsii_properties { :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
792 793 794 795 796 797 798 |
# File 's3_express/cfn_access_point.rb', line 792 def to_jsii result = {} result.merge!({ "vpcId" => @vpc_id, }) result.compact end |