aws-cdk-lib.aws_ecs.CfnClusterCapacityProviderAssociationsProps

interface CfnClusterCapacityProviderAssociationsProps

LanguageType name
.NETAmazon.CDK.AWS.ECS.CfnClusterCapacityProviderAssociationsProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#CfnClusterCapacityProviderAssociationsProps
Javasoftware.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociationsProps
Pythonaws_cdk.aws_ecs.CfnClusterCapacityProviderAssociationsProps
TypeScript aws-cdk-lib » aws_ecs » CfnClusterCapacityProviderAssociationsProps

Properties for defining a CfnClusterCapacityProviderAssociations.

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 cfnClusterCapacityProviderAssociationsProps: ecs.CfnClusterCapacityProviderAssociationsProps = {
  capacityProviders: ['capacityProviders'],
  cluster: 'cluster',
  defaultCapacityProviderStrategy: [{
    capacityProvider: 'capacityProvider',

    // the properties below are optional
    base: 123,
    weight: 123,
  }],
};

Properties

NameTypeDescription
capacityProvidersstring[]The capacity providers to associate with the cluster.
clusterstringThe cluster the capacity provider association is the target of.
defaultCapacityProviderStrategyIResolvable | IResolvable | CapacityProviderStrategyProperty[]The default capacity provider strategy to associate with the cluster.

capacityProviders

Type: string[]

The capacity providers to associate with the cluster.


cluster

Type: string

The cluster the capacity provider association is the target of.


defaultCapacityProviderStrategy

Type: IResolvable | IResolvable | CapacityProviderStrategyProperty[]

The default capacity provider strategy to associate with the cluster.