Skip to content

CreateTrafficPolicyRequest

Source code in docs_src/capo_route_53/types/create_traffic_policy_request.py
class CreateTrafficPolicyRequest(TypedDict, closed=True):
    name: "capo_route_53.types.traffic_policy_name.TrafficPolicyName"
    """<p>The name of the traffic policy.</p>"""
    document: "capo_route_53.types.traffic_policy_document.TrafficPolicyDocument"
    """<p>The definition of this traffic policy in JSON format. For more information, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html">Traffic Policy Document Format</a>.</p>"""
    comment: NotRequired[
        "capo_route_53.types.traffic_policy_comment.TrafficPolicyComment"
    ]
    """<p>(Optional) Any comments that you want to include about the traffic policy.</p>"""

comment instance-attribute

comment: NotRequired[TrafficPolicyComment]

(Optional) Any comments that you want to include about the traffic policy.

document instance-attribute

The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

name instance-attribute

The name of the traffic policy.