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:StringName:StringTrafficPolicyId:StringTrafficPolicyVersion:IntegerTTL: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:
32Update 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:
1024Update 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:
1Maximum:
36Update 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:
1Maximum:
1000Update 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:
0Maximum:
2147483647Update requires: No interruption
Return values
Ref
Fn::GetAtt
ArnProperty description not available.
Id-
The ID that Amazon Route 53 assigned to the new traffic policy instance.
State-
The value of
Stateis 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
GetTrafficPolicyInstanceto confirm that theCreateTrafficPolicyInstancerequest completed successfully. - Failed
-
Route 53 wasn't able to create or update the resource record sets. When the value of
StateisFailed, seeMessagefor 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.