Class: AWSCDK::Interfaces::AWSEC2::VPCEncryptionControlReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEC2::VPCEncryptionControlReference
- Defined in:
- interfaces/awsec2/vpc_encryption_control_reference.rb
Overview
A reference to a VPCEncryptionControl resource.
Instance Attribute Summary collapse
-
#vpc_encryption_control_id ⇒ String
readonly
The VpcEncryptionControlId of the VPCEncryptionControl resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(vpc_encryption_control_id:) ⇒ VPCEncryptionControlReference
constructor
A new instance of VPCEncryptionControlReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(vpc_encryption_control_id:) ⇒ VPCEncryptionControlReference
Returns a new instance of VPCEncryptionControlReference.
8 9 10 11 |
# File 'interfaces/awsec2/vpc_encryption_control_reference.rb', line 8 def initialize(vpc_encryption_control_id:) @vpc_encryption_control_id = vpc_encryption_control_id Jsii::Type.check_type(@vpc_encryption_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vpcEncryptionControlId") end |
Instance Attribute Details
#vpc_encryption_control_id ⇒ String (readonly)
The VpcEncryptionControlId of the VPCEncryptionControl resource.
16 17 18 |
# File 'interfaces/awsec2/vpc_encryption_control_reference.rb', line 16 def vpc_encryption_control_id @vpc_encryption_control_id end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/awsec2/vpc_encryption_control_reference.rb', line 18 def self.jsii_properties { :vpc_encryption_control_id => "vpcEncryptionControlId", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/awsec2/vpc_encryption_control_reference.rb', line 24 def to_jsii result = {} result.merge!({ "vpcEncryptionControlId" => @vpc_encryption_control_id, }) result.compact end |