Class: AWSCDK::Autoscaling::CfnAutoScalingGroup::CpuPerformanceFactorRequestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
autoscaling/cfn_auto_scaling_group.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:



1355
1356
1357
1358
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1355

def initialize(references: nil)
  @references = references
  Jsii::Type.check_type(@references, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYXV0b3NjYWxpbmcuQ2ZuQXV0b1NjYWxpbmdHcm91cC5QZXJmb3JtYW5jZUZhY3RvclJlZmVyZW5jZVJlcXVlc3RQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "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.



1368
1369
1370
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1368

def references
  @references
end

Class Method Details

.jsii_propertiesObject



1370
1371
1372
1373
1374
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1370

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

Instance Method Details

#to_jsiiObject



1376
1377
1378
1379
1380
1381
1382
# File 'autoscaling/cfn_auto_scaling_group.rb', line 1376

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