Class: AWSCDK::Deadline::CfnFleet::ServiceManagedEC2InstanceMarketOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:) ⇒ ServiceManagedEC2InstanceMarketOptionsProperty

Returns a new instance of ServiceManagedEC2InstanceMarketOptionsProperty.

Parameters:

  • type (String)

    The Amazon EC2 instance type.



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

#typeString (readonly)

The Amazon EC2 instance type.



1763
1764
1765
# File 'deadline/cfn_fleet.rb', line 1763

def type
  @type
end

Class Method Details

.jsii_propertiesObject



1765
1766
1767
1768
1769
# File 'deadline/cfn_fleet.rb', line 1765

def self.jsii_properties
  {
    :type => "type",
  }
end

Instance Method Details

#to_jsiiObject



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