Skip to content

CreateTrafficPolicyVersionRequest

Source code in docs_src/capo_route_53/types/create_traffic_policy_version_request.py
class CreateTrafficPolicyVersionRequest(TypedDict, closed=True):
    id: "capo_route_53.types.traffic_policy_id.TrafficPolicyId"
    """<p>The ID of the traffic policy for which you want to create a new version.</p>"""
    document: "capo_route_53.types.traffic_policy_document.TrafficPolicyDocument"
    """<p>The definition of this version of the traffic policy, in JSON format. You specified the JSON in the <code>CreateTrafficPolicyVersion</code> request. For more information about the JSON format, see <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html">CreateTrafficPolicy</a>.</p>"""
    comment: NotRequired[
        "capo_route_53.types.traffic_policy_comment.TrafficPolicyComment"
    ]
    """<p>The comment that you specified in the <code>CreateTrafficPolicyVersion</code> request, if any.</p>"""

comment instance-attribute

comment: NotRequired[TrafficPolicyComment]

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

document instance-attribute

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

id instance-attribute

The ID of the traffic policy for which you want to create a new version.