CfnPlacementGroupProps

class aws_cdk.aws_ec2.CfnPlacementGroupProps(*, strategy=None)

Bases: object

Properties for defining a CfnPlacementGroup.

Parameters

strategy (Optional[str]) – The placement strategy.

Link

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

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_placement_group_props = ec2.CfnPlacementGroupProps(
    strategy="strategy"
)

Attributes

strategy

The placement strategy.

Link

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

Return type

Optional[str]