Class BottlerocketEcsVariant
Amazon ECS variant.
Inheritance
System.Object
BottlerocketEcsVariant
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class BottlerocketEcsVariant : Enum
Syntax (vb)
Public NotInheritable Class BottlerocketEcsVariant
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
cluster.AddCapacity("bottlerocket-asg", new AddCapacityOptions {
InstanceType = new InstanceType("p3.2xlarge"),
MachineImage = new BottleRocketImage(new BottleRocketImageProps {
Variant = BottlerocketEcsVariant.AWS_ECS_2_NVIDIA
})
});
Synopsis
Fields
AWS_ECS_1 | aws-ecs-1 variant. |
AWS_ECS_1_NVIDIA | aws-ecs-1-nvidia variant. |
AWS_ECS_2 | aws-ecs-2 variant. |
AWS_ECS_2_NVIDIA | aws-ecs-2-nvidia variant. |
value__ |
Fields
AWS_ECS_1
aws-ecs-1 variant.
public const BottlerocketEcsVariant AWS_ECS_1
Field Value
Type | Description |
---|---|
BottlerocketEcsVariant |
AWS_ECS_1_NVIDIA
aws-ecs-1-nvidia variant.
public const BottlerocketEcsVariant AWS_ECS_1_NVIDIA
Field Value
Type | Description |
---|---|
BottlerocketEcsVariant |
AWS_ECS_2
aws-ecs-2 variant.
public const BottlerocketEcsVariant AWS_ECS_2
Field Value
Type | Description |
---|---|
BottlerocketEcsVariant |
AWS_ECS_2_NVIDIA
aws-ecs-2-nvidia variant.
public const BottlerocketEcsVariant AWS_ECS_2_NVIDIA
Field Value
Type | Description |
---|---|
BottlerocketEcsVariant |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |