Class CfnPlacementGroupProps
Properties for defining a CfnPlacementGroup
.
Inheritance
System.Object
CfnPlacementGroupProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPlacementGroupProps : Object, ICfnPlacementGroupProps
Syntax (vb)
Public Class CfnPlacementGroupProps
Inherits Object
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
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()
public CfnPlacementGroupProps()
Properties
PartitionCount
The number of partitions.
public Nullable<double> PartitionCount { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Valid only when Strategy is set to partition
.
SpreadLevel
Determines how placement groups spread instances.
public string SpreadLevel { get; set; }
Property Value
System.String
Remarks
Strategy
The placement strategy.
public string Strategy { get; set; }
Property Value
System.String
Remarks
Tags
The tags to apply to the new placement group.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]