Skip to content
v2.277.0

InstanceGroupConfigReference Struct ​

A reference to a InstanceGroupConfig resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as interfaces_emr } from 'aws-cdk-lib/interfaces';
const instanceGroupConfigReference: interfaces_emr.InstanceGroupConfigReference = {
  instanceGroupId: 'instanceGroupId',
  jobFlowId: 'jobFlowId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_emr as interfaces_emr

instance_group_config_reference = interfaces_emr.InstanceGroupConfigReference(
    instance_group_id="instanceGroupId",
    job_flow_id="jobFlowId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.emr.*;

InstanceGroupConfigReference instanceGroupConfigReference = InstanceGroupConfigReference.builder()
        .instanceGroupId("instanceGroupId")
        .jobFlowId("jobFlowId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.EMR;

var instanceGroupConfigReference = new InstanceGroupConfigReference {
    InstanceGroupId = "instanceGroupId",
    JobFlowId = "jobFlowId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

instanceGroupConfigReference := &InstanceGroupConfigReference{
	InstanceGroupId: jsii.String("instanceGroupId"),
	JobFlowId: jsii.String("jobFlowId"),
}

Properties ​

instanceGroupIdstringinstance_group_idstrinstanceGroupIdStringInstanceGroupIdstringInstanceGroupId*stringrequired#
The InstanceGroupId of the InstanceGroupConfig resource.
jobFlowIdstringjob_flow_idstrjobFlowIdStringJobFlowIdstringJobFlowId*stringrequired#
The JobFlowId of the InstanceGroupConfig resource.