Interface CfnComputeEnvironment.Ec2ConfigurationObjectProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnComputeEnvironment.Ec2ConfigurationObjectProperty.Jsii$Proxy
Enclosing class:
CfnComputeEnvironment

@Stability(Stable) public static interface CfnComputeEnvironment.Ec2ConfigurationObjectProperty extends software.amazon.jsii.JsiiSerializable
Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment.

If Ec2Configuration isn't specified, the default is ECS_AL2 ( Amazon Linux 2 ).

This object isn't applicable to jobs that are running on Fargate resources.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.batch.*;
 Ec2ConfigurationObjectProperty ec2ConfigurationObjectProperty = Ec2ConfigurationObjectProperty.builder()
         .imageType("imageType")
         // the properties below are optional
         .imageIdOverride("imageIdOverride")
         .imageKubernetesVersion("imageKubernetesVersion")
         .build();
 

See Also: