# CfnCodeDeployBlueGreenApplication

The application actually being deployed.

Type of the `CfnCodeDeployBlueGreenHookProps.applications` property.

- Source: [`core/lib/cfn-codedeploy-blue-green-hook.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/cfn-codedeploy-blue-green-hook.ts#L236)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnCodeDeployBlueGreenApplication: cdk.CfnCodeDeployBlueGreenApplication = {
  ecsAttributes: {
    taskDefinitions: ['taskDefinitions'],
    taskSets: ['taskSets'],
    trafficRouting: {
      prodTrafficRoute: {
        logicalId: 'logicalId',
        type: 'type',
      },
      targetGroups: ['targetGroups'],
      testTrafficRoute: {
        logicalId: 'logicalId',
        type: 'type',
      },
    },
  },
  target: {
    logicalId: 'logicalId',
    type: 'type',
  },
};
```

## Properties

- `ecsAttributes`: [CfnCodeDeployBlueGreenEcsAttributes](/cdk/api/v2/docs/aws-cdk-lib.CfnCodeDeployBlueGreenEcsAttributes.html) (required) — The detailed attributes of the deployed target.

- `target`: [CfnCodeDeployBlueGreenApplicationTarget](/cdk/api/v2/docs/aws-cdk-lib.CfnCodeDeployBlueGreenApplicationTarget.html) (required) — The target that is being deployed.
