CfnTrafficPolicyProps

class aws_cdk.aws_route53.CfnTrafficPolicyProps(*, document, name, comment=None)

Bases: object

Properties 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-trafficpolicy.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-trafficpolicy.html#cfn-route53-trafficpolicy-comment

document

The definition of the traffic policy in JSON format.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-trafficpolicy.html#cfn-route53-trafficpolicy-document

name

The name of the traffic policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-trafficpolicy.html#cfn-route53-trafficpolicy-name