# CfnCodeDeployBlueGreenApplicationTarget

Type of the `CfnCodeDeployBlueGreenApplication.target` property.

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

## 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 cfnCodeDeployBlueGreenApplicationTarget: cdk.CfnCodeDeployBlueGreenApplicationTarget = {
  logicalId: 'logicalId',
  type: 'type',
};
```

## Properties

- `logicalId`: string (required) — The logical id of the target resource.

- `type`: string (required) — The resource type of the target being deployed.

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