View a markdown version of this page

AWS::Route53::TrafficPolicyInstance - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Route53::TrafficPolicyInstance

A complex type that contains settings for the new traffic policy instance.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::Route53::TrafficPolicyInstance", "Properties" : { "HostedZoneId" : String, "Name" : String, "TrafficPolicyId" : String, "TrafficPolicyVersion" : Integer, "TTL" : Integer } }

YAML

Type: AWS::Route53::TrafficPolicyInstance Properties: HostedZoneId: String Name: String TrafficPolicyId: String TrafficPolicyVersion: Integer TTL: Integer

Properties

HostedZoneId

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

Required: Yes

Type: String

Pattern: ^[A-Z0-9]{1,32}$

Maximum: 32

Update requires: Replacement

Name

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

Required: Yes

Type: String

Pattern: ^[^A-Z\s]+\.$

Maximum: 1024

Update requires: Replacement

TrafficPolicyId

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Required: Yes

Type: String

Pattern: ^[0-9a-f-]{1,36}$

Minimum: 1

Maximum: 36

Update requires: No interruption

TrafficPolicyVersion

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 1000

Update requires: No interruption

TTL

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

Required: Yes

Type: Integer

Minimum: 0

Maximum: 2147483647

Update requires: No interruption

Return values

Ref

Fn::GetAtt

Arn

Property description not available.

Id

The ID that Amazon Route 53 assigned to the new traffic policy instance.

State

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.

Creating

Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

TrafficPolicyType

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.