# CfnTrafficPolicyProps

Properties for defining a `CfnTrafficPolicy`.

Extends: CfnTrafficPolicyProps
Used as props by: CfnTrafficPolicy

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_route53 as route53 } from 'aws-cdk-lib';
const cfnTrafficPolicyProps: route53.CfnTrafficPolicyProps = {
  document: 'document',
  name: 'name',

  // the properties below are optional
  comment: 'comment',
};
```

## Properties

- `comment`: string — Any comments to include about the traffic policy.

- `document`: string (required) — The definition of the traffic policy in JSON format.

- `name`: string (required) — The name of the traffic policy.
