interface ManagedInstancesProviderProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.CfnCapacityProvider.ManagedInstancesProviderProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnCapacityProvider_ManagedInstancesProviderProperty |
![]() | software.amazon.awscdk.services.ecs.CfnCapacityProvider.ManagedInstancesProviderProperty |
![]() | aws_cdk.aws_ecs.CfnCapacityProvider.ManagedInstancesProviderProperty |
![]() | aws-cdk-lib » aws_ecs » CfnCapacityProvider » ManagedInstancesProviderProperty |
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 managedInstancesProviderProperty: ecs.CfnCapacityProvider.ManagedInstancesProviderProperty = {
infrastructureRoleArn: 'infrastructureRoleArn',
instanceLaunchTemplate: {
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,
},
},
// the properties below are optional
propagateTags: 'propagateTags',
};
Properties
Name | Type | Description |
---|---|---|
infrastructure | string | |
instance | IResolvable | Instance | |
propagate | string |
infrastructureRoleArn
Type:
string
instanceLaunchTemplate
Type:
IResolvable
|
Instance
propagateTags?
Type:
string
(optional)