IEcsDeploymentConfig

class aws_cdk.aws_codedeploy.IEcsDeploymentConfig(*args, **kwargs)

Bases: IBaseDeploymentConfig, Protocol

The Deployment Configuration of an ECS Deployment Group.

If you’re managing the Deployment Configuration alongside the rest of your CDK resources, use the EcsDeploymentConfig class.

If you want to reference an already existing deployment configuration, or one defined in a different CDK Stack, use the EcsDeploymentConfig#fromEcsDeploymentConfigName method.

The default, pre-defined Configurations are available as constants on the EcsDeploymentConfig class (for example, EcsDeploymentConfig.AllAtOnce).

Attributes

deployment_config_arn

The ARN of the Deployment Configuration.

Attribute:

true

deployment_config_name

The physical, human-readable name of the Deployment Configuration.

Attribute:

true

deployment_config_ref

(experimental) A reference to a DeploymentConfig resource.

Stability:

experimental

env

The environment this resource belongs to.

For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

node

The tree node.