interface PlacementGroupConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnClusterPropsMixin.PlacementGroupConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnClusterPropsMixin_PlacementGroupConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnClusterPropsMixin.PlacementGroupConfigProperty |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnClusterPropsMixin.PlacementGroupConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnClusterPropsMixin » PlacementGroupConfigProperty |
Placement group configuration for an Amazon EMR cluster.
The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.
To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the Amazon EMR role.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as emr_mixins } from '@aws-cdk/mixins-preview/aws-emr';
const placementGroupConfigProperty: emr_mixins.CfnClusterPropsMixin.PlacementGroupConfigProperty = {
instanceRole: 'instanceRole',
placementStrategy: 'placementStrategy',
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | Role of the instance in the cluster. |
| placement | string | Amazon EC2 Placement Group strategy associated with instance role. |
instanceRole?
Type:
string
(optional)
Role of the instance in the cluster.
Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER .
placementStrategy?
Type:
string
(optional)
Amazon EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

.NET
Go
Java
Python
TypeScript