CfnCodeDeployBlueGreenApplicationTarget

class aws_cdk.core.CfnCodeDeployBlueGreenApplicationTarget(*, logical_id, type)

Bases: object

Type of the {@link CfnCodeDeployBlueGreenApplication.target} property.

Parameters
  • logical_id (str) – The logical id of the target resource.

  • type (str) – The resource type of the target being deployed. Right now, the only allowed value is ‘AWS::ECS::Service’.

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.core as cdk

cfn_code_deploy_blue_green_application_target = cdk.CfnCodeDeployBlueGreenApplicationTarget(
    logical_id="logicalId",
    type="type"
)

Attributes

logical_id

The logical id of the target resource.

Return type

str

type

The resource type of the target being deployed.

Right now, the only allowed value is ‘AWS::ECS::Service’.

Return type

str