Class CfnLaunchTemplate.CpuProperty
Specifies the CPU performance to consider when using an instance family as the baseline reference.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchTemplate.CpuProperty : CfnLaunchTemplate.ICpuProperty
Syntax (vb)
Public Class CfnLaunchTemplate.CpuProperty Implements CfnLaunchTemplate.ICpuProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cpuProperty = new CpuProperty {
References = new [] { new ReferenceProperty {
InstanceFamily = "instanceFamily"
} }
};
Synopsis
Constructors
| CpuProperty() | Specifies the CPU performance to consider when using an instance family as the baseline reference. |
Properties
| References | The instance family to use as the baseline reference for CPU performance. |
Constructors
CpuProperty()
Specifies the CPU performance to consider when using an instance family as the baseline reference.
public CpuProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cpuProperty = new CpuProperty {
References = new [] { new ReferenceProperty {
InstanceFamily = "instanceFamily"
} }
};
Properties
References
The instance family to use as the baseline reference for CPU performance.
public object? References { get; set; }
Property Value
Remarks
All instance types that match your specified attributes are compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
Type union: either IResolvable or (either IResolvable or CfnLaunchTemplate.IReferenceProperty)[]