Class CfnPlacementGroupProps
Properties for defining a CfnPlacementGroup.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPlacementGroupProps : ICfnPlacementGroupProps
Syntax (vb)
Public Class CfnPlacementGroupProps Implements ICfnPlacementGroupProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.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 cfnPlacementGroupProps = new CfnPlacementGroupProps {
PartitionCount = 123,
SpreadLevel = "spreadLevel",
Strategy = "strategy",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnPlacementGroupProps() | Properties for defining a |
Properties
| PartitionCount | The number of partitions. |
| SpreadLevel | Determines how placement groups spread instances. |
| Strategy | The placement strategy. |
| Tags | The tags to apply to the new placement group. |
Constructors
CfnPlacementGroupProps()
Properties for defining a CfnPlacementGroup.
public CfnPlacementGroupProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.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 cfnPlacementGroupProps = new CfnPlacementGroupProps {
PartitionCount = 123,
SpreadLevel = "spreadLevel",
Strategy = "strategy",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
PartitionCount
The number of partitions.
public double? PartitionCount { get; set; }
Property Value
Remarks
Valid only when Strategy is set to partition .
SpreadLevel
Determines how placement groups spread instances.
public string? SpreadLevel { get; set; }
Property Value
Remarks
Strategy
The placement strategy.
public string? Strategy { get; set; }
Property Value
Remarks
Tags
The tags to apply to the new placement group.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]