interface CfnTrafficPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Route53.CfnTrafficPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#CfnTrafficPolicyProps |
Java | software.amazon.awscdk.services.route53.CfnTrafficPolicyProps |
Python | aws_cdk.aws_route53.CfnTrafficPolicyProps |
TypeScript | aws-cdk-lib » aws_route53 » CfnTrafficPolicyProps |
Properties for defining a CfnTrafficPolicy.
Example
// 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
| Name | Type | Description |
|---|---|---|
| document | string | The definition of the traffic policy in JSON format. |
| name | string | The name of the traffic policy. |
| comment? | string | Any comments to include about the traffic policy. |
document
Type:
string
The definition of the traffic policy in JSON format.
name
Type:
string
The name of the traffic policy.
comment?
Type:
string
(optional)
Any comments to include about the traffic policy.

.NET
Go
Java
Python
TypeScript