CfnTrafficPolicyProps
- class aws_cdk.aws_route53.CfnTrafficPolicyProps(*, document, name, comment=None)
Bases:
objectProperties for defining a
CfnTrafficPolicy.- Parameters:
document (
str) – The definition of the traffic policy in JSON format.name (
str) – The name of the traffic policy.comment (
Optional[str]) – Any comments to include about the traffic policy.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_route53 as route53 cfn_traffic_policy_props = route53.CfnTrafficPolicyProps( document="document", name="name", # the properties below are optional comment="comment" )
Attributes
- comment
Any comments to include about the traffic policy.
- document
The definition of the traffic policy in JSON format.
- name
The name of the traffic policy.