-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCluster_PlacementGroupConfigProperty.go
38 lines (35 loc) · 1.77 KB
/
CfnCluster_PlacementGroupConfigProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package awsemr
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// placementGroupConfigProperty := &PlacementGroupConfigProperty{
// InstanceRole: jsii.String("instanceRole"),
//
// // the properties below are optional
// PlacementStrategy: jsii.String("placementStrategy"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-placementgroupconfig.html
//
type CfnCluster_PlacementGroupConfigProperty struct {
// Role of the instance in the cluster.
//
// Starting with Amazon EMR release 5.23.0, the only supported instance role is `MASTER` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-placementgroupconfig.html#cfn-emr-cluster-placementgroupconfig-instancerole
//
InstanceRole *string `field:"required" json:"instanceRole" yaml:"instanceRole"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-placementgroupconfig.html#cfn-emr-cluster-placementgroupconfig-placementstrategy
//
PlacementStrategy *string `field:"optional" json:"placementStrategy" yaml:"placementStrategy"`
}