CfnCodeDeployBlueGreenApplication

class aws_cdk.CfnCodeDeployBlueGreenApplication(*, ecs_attributes, target)

Bases: object

The application actually being deployed.

Type of the CfnCodeDeployBlueGreenHookProps.applications property.

Parameters:
ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_code_deploy_blue_green_application = cdk.CfnCodeDeployBlueGreenApplication(
    ecs_attributes=cdk.CfnCodeDeployBlueGreenEcsAttributes(
        task_definitions=["taskDefinitions"],
        task_sets=["taskSets"],
        traffic_routing=cdk.CfnTrafficRouting(
            prod_traffic_route=cdk.CfnTrafficRoute(
                logical_id="logicalId",
                type="type"
            ),
            target_groups=["targetGroups"],
            test_traffic_route=cdk.CfnTrafficRoute(
                logical_id="logicalId",
                type="type"
            )
        )
    ),
    target=cdk.CfnCodeDeployBlueGreenApplicationTarget(
        logical_id="logicalId",
        type="type"
    )
)

Attributes

ecs_attributes

The detailed attributes of the deployed target.

target

The target that is being deployed.