aws::route53-traffic-policy-instance

Creates a Traffic Policy Instance resource.

Example

aws::route53-traffic-policy-instance traffic-policy-instance-example
    name: "traffic-policy-instance-example"
    comment: "traffic-policy-instance-example Comment"
    version: 1
    ttl: 900
    hosted-zone: $(aws::route53-hosted-zone hosted-zone-record-set-example)
    traffic-policy: $(aws::route53-traffic-policy traffic-policy-example-instance)
end

Attributes

Attribute Description
name Name of the Traffic Policy Instance. (Required)
message Message for the Traffic Policy Instance.
hosted-zone The associated Hosted Zone. (Required)
traffic-policy The Traffic Policy to be associated. (Required)
ttl The TTL that you want to assign to all of the resource Record Sets that the Traffic Policy Instance creates in the specified hosted zone.

Outputs

Attribute Description
type The type of the Traffic Policy Instance.
state The state of the Traffic Policy Instance.
id The ID of the Traffic Policy Instance.