Show / Hide Table of Contents

Interface CfnLaunchTemplate.ICpuOptionsProperty

Specifies the CPU options for an instance.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLaunchTemplate.ICpuOptionsProperty
Syntax (vb)
Public Interface CfnLaunchTemplate.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.AWS.EC2;

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

Synopsis

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.

Properties

AmdSevSnp

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

string? AmdSevSnp { get; }
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.

double? CoreCount { get; }
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.

double? ThreadsPerCore { get; }
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

Back to top Generated by DocFX