interface CfnInstanceGroupConfigMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EMR.Mixins.CfnInstanceGroupConfigMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsemr/mixins#CfnInstanceGroupConfigMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.emr.mixins.CfnInstanceGroupConfigMixinProps |
Python | aws_cdk.mixins_preview.aws_emr.mixins.CfnInstanceGroupConfigMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_emr » mixins » CfnInstanceGroupConfigMixinProps |
Properties for CfnInstanceGroupConfigPropsMixin.
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';
declare const configurationProperty_: emr_mixins.CfnInstanceGroupConfigPropsMixin.ConfigurationProperty;
const cfnInstanceGroupConfigMixinProps: emr_mixins.CfnInstanceGroupConfigMixinProps = {
autoScalingPolicy: {
constraints: {
maxCapacity: 123,
minCapacity: 123,
},
rules: [{
action: {
market: 'market',
simpleScalingPolicyConfiguration: {
adjustmentType: 'adjustmentType',
coolDown: 123,
scalingAdjustment: 123,
},
},
description: 'description',
name: 'name',
trigger: {
cloudWatchAlarmDefinition: {
comparisonOperator: 'comparisonOperator',
dimensions: [{
key: 'key',
value: 'value',
}],
evaluationPeriods: 123,
metricName: 'metricName',
namespace: 'namespace',
period: 123,
statistic: 'statistic',
threshold: 123,
unit: 'unit',
},
},
}],
},
bidPrice: 'bidPrice',
configurations: [{
classification: 'classification',
configurationProperties: {
configurationPropertiesKey: 'configurationProperties',
},
configurations: [configurationProperty_],
}],
customAmiId: 'customAmiId',
ebsConfiguration: {
ebsBlockDeviceConfigs: [{
volumeSpecification: {
iops: 123,
sizeInGb: 123,
throughput: 123,
volumeType: 'volumeType',
},
volumesPerInstance: 123,
}],
ebsOptimized: false,
},
instanceCount: 123,
instanceRole: 'instanceRole',
instanceType: 'instanceType',
jobFlowId: 'jobFlowId',
market: 'market',
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| auto | IResolvable | Auto | AutoScalingPolicy is a subproperty of InstanceGroupConfig . |
| bid | string | If specified, indicates that the instance group uses Spot Instances. |
| configurations? | IResolvable | (IResolvable | Configuration)[] | > Amazon EMR releases 4.x or later. |
| custom | string | The custom AMI ID to use for the provisioned instance group. |
| ebs | IResolvable | Ebs | EbsConfiguration determines the EBS volumes to attach to EMR cluster instances. |
| instance | number | Target number of instances for the instance group. |
| instance | string | The role of the instance group in the cluster. |
| instance | string | The Amazon EC2 instance type for all instances in the instance group. |
| job | string | The ID of an Amazon EMR cluster that you want to associate this instance group with. |
| market? | string | Market type of the Amazon EC2 instances used to create a cluster node. |
| name? | string | Friendly name given to the instance group. |
autoScalingPolicy?
Type:
IResolvable | Auto
(optional)
AutoScalingPolicy is a subproperty of InstanceGroupConfig .
AutoScalingPolicy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. For more information, see Using Automatic Scaling in Amazon EMR in the Amazon EMR Management Guide .
bidPrice?
Type:
string
(optional)
If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice to set the amount equal to the On-Demand price, or specify an amount in USD.
configurations?
Type:
IResolvable | (IResolvable | Configuration)[]
(optional)
Amazon EMR releases 4.x or later.
The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
customAmiId?
Type:
string
(optional)
The custom AMI ID to use for the provisioned instance group.
ebsConfiguration?
Type:
IResolvable | Ebs
(optional)
EbsConfiguration determines the EBS volumes to attach to EMR cluster instances.
instanceCount?
Type:
number
(optional)
Target number of instances for the instance group.
instanceRole?
Type:
string
(optional)
The role of the instance group in the cluster.
Allowed Values : TASK
instanceType?
Type:
string
(optional)
The Amazon EC2 instance type for all instances in the instance group.
jobFlowId?
Type:
string
(optional)
The ID of an Amazon EMR cluster that you want to associate this instance group with.
market?
Type:
string
(optional)
Market type of the Amazon EC2 instances used to create a cluster node.
name?
Type:
string
(optional)
Friendly name given to the instance group.

.NET
Go
Java
Python
TypeScript