interface CfnPlacementGroupMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnPlacementGroupMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnPlacementGroupMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnPlacementGroupMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnPlacementGroupMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnPlacementGroupMixinProps |
Properties for CfnPlacementGroupPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnPlacementGroupMixinProps: ec2_mixins.CfnPlacementGroupMixinProps = {
partitionCount: 123,
spreadLevel: 'spreadLevel',
strategy: 'strategy',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| partition | number | The number of partitions. |
| spread | string | Determines how placement groups spread instances. |
| strategy? | string | The placement strategy. |
| tags? | Cfn[] | The tags to apply to the new placement group. |
partitionCount?
Type:
number
(optional)
The number of partitions.
Valid only when Strategy is set to partition .
spreadLevel?
Type:
string
(optional)
Determines how placement groups spread instances.
- Host – You can use
hostonly with Outpost placement groups. - Rack – No usage restrictions.
strategy?
Type:
string
(optional)
The placement strategy.
tags?
Type:
Cfn[]
(optional)
The tags to apply to the new placement group.

.NET
Go
Java
Python
TypeScript