interface InstanceLaunchTemplateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Batch.CfnComputeEnvironment.InstanceLaunchTemplateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#CfnComputeEnvironment_InstanceLaunchTemplateProperty |
Java | software.amazon.awscdk.services.batch.CfnComputeEnvironment.InstanceLaunchTemplateProperty |
Python | aws_cdk.aws_batch.CfnComputeEnvironment.InstanceLaunchTemplateProperty |
TypeScript | aws-cdk-lib » aws_batch » CfnComputeEnvironment » InstanceLaunchTemplateProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const instanceLaunchTemplateProperty: batch.CfnComputeEnvironment.InstanceLaunchTemplateProperty = {
ec2InstanceProfileArn: 'ec2InstanceProfileArn',
networkConfiguration: {
securityGroups: ['securityGroups'],
subnets: ['subnets'],
},
// the properties below are optional
capacityOptionType: 'capacityOptionType',
capacityReservations: {
reservationGroupArn: 'reservationGroupArn',
reservationPreference: 'reservationPreference',
},
fipsEnabled: false,
instanceMetadataTagsPropagation: false,
instanceRequirements: {
allowedInstanceTypes: ['allowedInstanceTypes'],
},
localStorageConfiguration: {
useLocalStorage: false,
},
monitoring: 'monitoring',
storageConfiguration: {
storageSizeGiB: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| ec2 | string | |
| network | IResolvable | Managed | |
| capacity | string | |
| capacity | IResolvable | Capacity | |
| fips | boolean | IResolvable | |
| instance | boolean | IResolvable | |
| instance | IResolvable | Instance | |
| local | IResolvable | Managed | |
| monitoring? | string | |
| storage | IResolvable | Managed |
ec2InstanceProfileArn
Type:
string
networkConfiguration
Type:
IResolvable | Managed
capacityOptionType?
Type:
string
(optional)
capacityReservations?
Type:
IResolvable | Capacity
(optional)
fipsEnabled?
Type:
boolean | IResolvable
(optional)
instanceMetadataTagsPropagation?
Type:
boolean | IResolvable
(optional)
instanceRequirements?
Type:
IResolvable | Instance
(optional)
localStorageConfiguration?
Type:
IResolvable | Managed
(optional)
monitoring?
Type:
string
(optional)
storageConfiguration?
Type:
IResolvable | Managed
(optional)

.NET
Go
Java
Python
TypeScript