AwsEcsClusterCapabilityArgs

interface AwsEcsClusterCapabilityArgs { capacityProvider?: undefined; cluster: AwsEcsClusterArgs & { identity: string }; service?: undefined; taskDefinition?: undefined; }

ECS cluster capability wrapper for AwsEcsArgs.

Remarks

Use this capability when creating an ECS cluster only.

Logical identity is sourced from cluster.identity and is independent from AWS cluster naming.

Example

CODE
const args: AwsEcsClusterCapabilityArgs = {
  cluster: {
    identity: 'app-cluster',
  },
};

Properties

capacityProvider: undefined

cluster: AwsEcsClusterArgs & { identity: string }

ECS cluster capability.

service: undefined

taskDefinition: undefined