View a markdown version of this page

AWS::Route53::TrafficPolicy - 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::TrafficPolicy

A complex type that contains settings for a traffic policy.

Syntax

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

JSON

{ "Type" : "AWS::Route53::TrafficPolicy", "Properties" : { "Comment" : String, "Document" : String, "Name" : String } }

YAML

Type: AWS::Route53::TrafficPolicy Properties: Comment: String Document: String Name: String

Properties

Comment

The comment that you specify in the CreateTrafficPolicy request, if any.

Required: No

Type: String

Maximum: 1024

Update requires: No interruption

Document

The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

Required: Yes

Type: String

Maximum: 102400

Update requires: Replacement

Name

The name that you specified when you created the traffic policy.

Required: Yes

Type: String

Maximum: 512

Update requires: Replacement

Return values

Ref

Fn::GetAtt

Arn

Property description not available.

Id

The ID that Amazon Route 53 assigned to a traffic policy when you created it.

Type

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

Version

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.