Class: AWSCDK::S3::CfnAccessPoint::VPCConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3::CfnAccessPoint::VPCConfigurationProperty
- Defined in:
- s3/cfn_access_point.rb
Overview
The Virtual Private Cloud (VPC) configuration for this access point.
Instance Attribute Summary collapse
-
#vpc_id ⇒ String?
readonly
If this field is specified, the 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.
736 737 738 739 |
# File 's3/cfn_access_point.rb', line 736 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, the access point will only allow connections from the specified VPC ID.
745 746 747 |
# File 's3/cfn_access_point.rb', line 745 def vpc_id @vpc_id end |
Class Method Details
.jsii_properties ⇒ Object
747 748 749 750 751 |
# File 's3/cfn_access_point.rb', line 747 def self.jsii_properties { :vpc_id => "vpcId", } end |
Instance Method Details
#to_jsii ⇒ Object
753 754 755 756 757 758 759 |
# File 's3/cfn_access_point.rb', line 753 def to_jsii result = {} result.merge!({ "vpcId" => @vpc_id, }) result.compact end |