Class: AWSCDK::EC2::CfnEC2Fleet::CpuPerformanceFactorRequestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ec2/cfn_ec2_fleet.rb

Overview

The CPU performance to consider, using an instance family as the baseline reference.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(references: nil) ⇒ CpuPerformanceFactorRequestProperty

Returns a new instance of CpuPerformanceFactorRequestProperty.

Parameters:



1035
1036
1037
1038
# File 'ec2/cfn_ec2_fleet.rb', line 1035

def initialize(references: nil)
  @references = references
  Jsii::Type.check_type(@references, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLkNmbkVDMkZsZWV0LlBlcmZvcm1hbmNlRmFjdG9yUmVmZXJlbmNlUmVxdWVzdFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "references") unless @references.nil?
end

Instance Attribute Details

#referencesAWSCDK::IResolvable, ... (readonly)

Specify an instance family to use as the baseline reference for CPU performance.

All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.

Currently, only one instance family can be specified in the list.



1048
1049
1050
# File 'ec2/cfn_ec2_fleet.rb', line 1048

def references
  @references
end

Class Method Details

.jsii_propertiesObject



1050
1051
1052
1053
1054
# File 'ec2/cfn_ec2_fleet.rb', line 1050

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

Instance Method Details

#to_jsiiObject



1056
1057
1058
1059
1060
1061
1062
# File 'ec2/cfn_ec2_fleet.rb', line 1056

def to_jsii
  result = {}
  result.merge!({
    "references" => @references,
  })
  result.compact
end