Class: AWSCDK::Deadline::CfnFleet::ServiceManagedEC2InstanceMarketOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Deadline::CfnFleet::ServiceManagedEC2InstanceMarketOptionsProperty
- Defined in:
- deadline/cfn_fleet.rb
Overview
The details of the Amazon EC2 instance market options for a service managed fleet.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The Amazon EC2 instance type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:) ⇒ ServiceManagedEC2InstanceMarketOptionsProperty
constructor
A new instance of ServiceManagedEC2InstanceMarketOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:) ⇒ ServiceManagedEC2InstanceMarketOptionsProperty
Returns a new instance of ServiceManagedEC2InstanceMarketOptionsProperty.
1754 1755 1756 1757 |
# File 'deadline/cfn_fleet.rb', line 1754 def initialize(type:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#type ⇒ String (readonly)
The Amazon EC2 instance type.
1763 1764 1765 |
# File 'deadline/cfn_fleet.rb', line 1763 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1765 1766 1767 1768 1769 |
# File 'deadline/cfn_fleet.rb', line 1765 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1771 1772 1773 1774 1775 1776 1777 |
# File 'deadline/cfn_fleet.rb', line 1771 def to_jsii result = {} result.merge!({ "type" => @type, }) result.compact end |