Show / Hide Table of Contents

Class CfnLaunchTemplatePropsMixin.CpuOptionsProperty

Specifies the CPU options for an instance.

Inheritance
object
CfnLaunchTemplatePropsMixin.CpuOptionsProperty
Implements
CfnLaunchTemplatePropsMixin.ICpuOptionsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLaunchTemplatePropsMixin.CpuOptionsProperty : CfnLaunchTemplatePropsMixin.ICpuOptionsProperty
Syntax (vb)
Public Class CfnLaunchTemplatePropsMixin.CpuOptionsProperty Implements CfnLaunchTemplatePropsMixin.ICpuOptionsProperty
Remarks

For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide .

CpuOptions is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html

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.Mixins.Preview.AWS.EC2.Mixins;

             var cpuOptionsProperty = new CpuOptionsProperty {
                 AmdSevSnp = "amdSevSnp",
                 CoreCount = 123,
                 ThreadsPerCore = 123
             };

Synopsis

Constructors

CpuOptionsProperty()

Specifies the CPU options for an instance.

Properties

AmdSevSnp

Indicates whether to enable the instance for AMD SEV-SNP.

CoreCount

The number of CPU cores for the instance.

ThreadsPerCore

The number of threads per CPU core.

Constructors

CpuOptionsProperty()

Specifies the CPU options for an instance.

public CpuOptionsProperty()
Remarks

For more information, see Optimize CPU options in the Amazon Elastic Compute Cloud User Guide .

CpuOptions is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html

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.Mixins.Preview.AWS.EC2.Mixins;

             var cpuOptionsProperty = new CpuOptionsProperty {
                 AmdSevSnp = "amdSevSnp",
                 CoreCount = 123,
                 ThreadsPerCore = 123
             };

Properties

AmdSevSnp

Indicates whether to enable the instance for AMD SEV-SNP.

public string? AmdSevSnp { get; set; }
Property Value

string

Remarks

AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP for Amazon EC2 instances .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-amdsevsnp

CoreCount

The number of CPU cores for the instance.

public double? CoreCount { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-corecount

ThreadsPerCore

The number of threads per CPU core.

public double? ThreadsPerCore { get; set; }
Property Value

double?

Remarks

To disable multithreading for the instance, specify a value of 1 . Otherwise, specify the default value of 2 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-cpuoptions.html#cfn-ec2-launchtemplate-cpuoptions-threadspercore

Implements

CfnLaunchTemplatePropsMixin.ICpuOptionsProperty
Back to top Generated by DocFX