Class CfnLaunchTemplate.ReferenceProperty
Specifies an instance family to use as the baseline reference for CPU performance.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReferenceProperty : Object, CfnLaunchTemplate.IReferenceProperty
Syntax (vb)
Public Class ReferenceProperty
Inherits Object
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
Reference |
Properties
Instance |
The instance family to use as a baseline reference. |
Constructors
ReferenceProperty()
public ReferenceProperty()
Properties
InstanceFamily
The instance family to use as a baseline reference.
public string InstanceFamily { get; set; }
Property Value
System.
Remarks
Ensure that you specify the correct value for the instance family. The instance family is everything before the period ( .
) in the instance type name. For example, in the instance type c6i.large
, the instance family is c6i
, not c6
. For more information, see Amazon EC2 instance type naming conventions in Amazon EC2 Instance Types .
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.