interface InstanceLaunchTemplateProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnCapacityProvider.InstanceLaunchTemplateProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_InstanceLaunchTemplateProperty |
![]() | software.amazon.awscdk.services.ecs.CfnCapacityProvider.InstanceLaunchTemplateProperty |
![]() | aws_cdk.aws_ecs.CfnCapacityProvider.InstanceLaunchTemplateProperty |
![]() | aws-cdk-lib » aws_ecs » CfnCapacityProvider » InstanceLaunchTemplateProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const instanceLaunchTemplateProperty: ecs.CfnCapacityProvider.InstanceLaunchTemplateProperty = {
ec2InstanceProfileArn: 'ec2InstanceProfileArn',
networkConfiguration: {
subnets: ['subnets'],
// the properties below are optional
securityGroups: ['securityGroups'],
},
// the properties below are optional
instanceRequirements: {
memoryMiB: {
min: 123,
// the properties below are optional
max: 123,
},
vCpuCount: {
min: 123,
// the properties below are optional
max: 123,
},
// the properties below are optional
acceleratorCount: {
max: 123,
min: 123,
},
acceleratorManufacturers: ['acceleratorManufacturers'],
acceleratorNames: ['acceleratorNames'],
acceleratorTotalMemoryMiB: {
max: 123,
min: 123,
},
acceleratorTypes: ['acceleratorTypes'],
allowedInstanceTypes: ['allowedInstanceTypes'],
bareMetal: 'bareMetal',
baselineEbsBandwidthMbps: {
max: 123,
min: 123,
},
burstablePerformance: 'burstablePerformance',
cpuManufacturers: ['cpuManufacturers'],
excludedInstanceTypes: ['excludedInstanceTypes'],
instanceGenerations: ['instanceGenerations'],
localStorage: 'localStorage',
localStorageTypes: ['localStorageTypes'],
maxSpotPriceAsPercentageOfOptimalOnDemandPrice: 123,
memoryGiBPerVCpu: {
max: 123,
min: 123,
},
networkBandwidthGbps: {
max: 123,
min: 123,
},
networkInterfaceCount: {
max: 123,
min: 123,
},
onDemandMaxPricePercentageOverLowestPrice: 123,
requireHibernateSupport: false,
spotMaxPricePercentageOverLowestPrice: 123,
totalLocalStorageGb: {
max: 123,
min: 123,
},
},
monitoring: 'monitoring',
storageConfiguration: {
storageSizeGiB: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
ec2 | string | |
network | IResolvable | Managed | |
instance | IResolvable | Instance | |
monitoring? | string | |
storage | IResolvable | Managed |
ec2InstanceProfileArn
Type:
string
networkConfiguration
Type:
IResolvable
|
Managed
instanceRequirements?
Type:
IResolvable
|
Instance
(optional)
monitoring?
Type:
string
(optional)
storageConfiguration?
Type:
IResolvable
|
Managed
(optional)