Skip to content
v2.274.0

CfnTrafficPolicyProps Struct ​

Properties for defining a CfnTrafficPolicy.

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 ​

commentoptionalstringcommentoptionalstrcommentoptionalStringCommentoptionalstringCommentoptional*string#
Any comments to include about the traffic policy.
documentstringdocumentstrdocumentStringDocumentstringDocument*stringrequired#
The definition of the traffic policy in JSON format.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the traffic policy.