Class: AWSCDK::EC2::CfnInstance::EnclaveOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnInstance::EnclaveOptionsProperty
- Defined in:
- ec2/cfn_instance.rb
Overview
Indicates whether the instance is enabled for AWS Nitro Enclaves.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
If this parameter is set to
true, the instance is enabled for AWS Nitro Enclaves;.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil) ⇒ EnclaveOptionsProperty
constructor
A new instance of EnclaveOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil) ⇒ EnclaveOptionsProperty
Returns a new instance of EnclaveOptionsProperty.
1666 1667 1668 1669 |
# File 'ec2/cfn_instance.rb', line 1666 def initialize(enabled: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
If this parameter is set to true , the instance is enabled for AWS Nitro Enclaves;
otherwise, it is not enabled for AWS Nitro Enclaves.
1677 1678 1679 |
# File 'ec2/cfn_instance.rb', line 1677 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1679 1680 1681 1682 1683 |
# File 'ec2/cfn_instance.rb', line 1679 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1685 1686 1687 1688 1689 1690 1691 |
# File 'ec2/cfn_instance.rb', line 1685 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |