Class: AWSCDK::EC2::CfnLaunchTemplate::EnclaveOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnLaunchTemplate::EnclaveOptionsProperty
- Defined in:
- ec2/cfn_launch_template.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.
1411 1412 1413 1414 |
# File 'ec2/cfn_launch_template.rb', line 1411 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.
1422 1423 1424 |
# File 'ec2/cfn_launch_template.rb', line 1422 def enabled @enabled end |
Class Method Details
.jsii_properties ⇒ Object
1424 1425 1426 1427 1428 |
# File 'ec2/cfn_launch_template.rb', line 1424 def self.jsii_properties { :enabled => "enabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1430 1431 1432 1433 1434 1435 1436 |
# File 'ec2/cfn_launch_template.rb', line 1430 def to_jsii result = {} result.merge!({ "enabled" => @enabled, }) result.compact end |