Class CfnLaunchTemplate.ReferenceProperty
Specifies an instance family to use as the baseline reference for CPU performance.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchTemplate.ReferenceProperty : CfnLaunchTemplate.IReferenceProperty
Syntax (vb)
Public Class CfnLaunchTemplate.ReferenceProperty Implements CfnLaunchTemplate.IReferenceProperty
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 referenceProperty = new ReferenceProperty {
InstanceFamily = "instanceFamily"
};
Synopsis
Constructors
ReferenceProperty() | Specifies an instance family to use as the baseline reference for CPU performance. |
Properties
InstanceFamily | The instance family to use as a baseline reference. |
Constructors
ReferenceProperty()
Specifies an instance family to use as the baseline reference for CPU performance.
public ReferenceProperty()
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 referenceProperty = new ReferenceProperty {
InstanceFamily = "instanceFamily"
};
Properties
InstanceFamily
The instance family to use as a baseline reference.
public string? InstanceFamily { get; set; }
Property Value
Remarks
Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( <code>.</code> ) in the instance type name. For example, in the instance type <code>c6i.large</code> , the instance family is <code>c6i</code> , not <code>c6</code> . For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html">Amazon EC2 instance type naming conventions</a> in <em>Amazon EC2 Instance Types</em> .
The following instance families are not supported for performance protection:
If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families.