Skip to content
v2.278.0

WorkerTypeSpecificationInputProperty Struct ​

The specifications for a worker type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrserverless as emrserverless } from 'aws-cdk-lib';
const workerTypeSpecificationInputProperty: emrserverless.CfnApplication.WorkerTypeSpecificationInputProperty = {
  imageConfiguration: {
    imageUri: 'imageUri',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emrserverless as emrserverless

worker_type_specification_input_property = emrserverless.CfnApplication.WorkerTypeSpecificationInputProperty(
    image_configuration=emrserverless.CfnApplication.ImageConfigurationInputProperty(
        image_uri="imageUri"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emrserverless.*;

WorkerTypeSpecificationInputProperty workerTypeSpecificationInputProperty = WorkerTypeSpecificationInputProperty.builder()
        .imageConfiguration(ImageConfigurationInputProperty.builder()
                .imageUri("imageUri")
                .build())
        .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.AWS.EMRServerless;

var workerTypeSpecificationInputProperty = new WorkerTypeSpecificationInputProperty {
    ImageConfiguration = new ImageConfigurationInputProperty {
        ImageUri = "imageUri"
    }
};
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"

workerTypeSpecificationInputProperty := &WorkerTypeSpecificationInputProperty{
	ImageConfiguration: &ImageConfigurationInputProperty{
		ImageUri: jsii.String("imageUri"),
	},
}

Properties ​

imageConfigurationoptionalIResolvable | CfnApplication.ImageConfigurationInputPropertyimage_configurationoptionaltyping.Union[IResolvable, ImageConfigurationInputProperty]imageConfigurationoptionalIResolvableImageConfigurationoptionalIResolvableImageConfigurationoptionalinterface{} #
The image configuration for a worker type.