Show / Hide Table of Contents

Class CfnPlacementGroupProps

Properties for defining a CfnPlacementGroup.

Inheritance
object
CfnPlacementGroupProps
Implements
ICfnPlacementGroupProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnPlacementGroup.

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

double?

Remarks

Valid only when Strategy is set to partition .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-partitioncount

SpreadLevel

Determines how placement groups spread instances.

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

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-spreadlevel

    Strategy

    The placement strategy.

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

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-strategy

    Tags

    The tags to apply to the new placement group.

    public ICfnTag[]? Tags { get; set; }
    Property Value

    ICfnTag[]

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html#cfn-ec2-placementgroup-tags

    Implements

    ICfnPlacementGroupProps
    Back to top Generated by DocFX