AWS::Route53::TrafficPolicyResource Type definition for AWS::Route53::TrafficPolicy. Creates a Route 53 traffic policy, a JSON document that describes how Route 53 responds to DNS queries for a domain name.
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Document | string | RequiredCreate-only |
Name | string | RequiredCreate-only |
Comment | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the traffic policy. |
Id | string | The ID that Amazon Route 53 assigned to the traffic policy when it was created. |
Type | string | The DNS type of the resource record sets that Amazon Route 53 creates when the traffic policy is used to create a traffic policy instance. |
Version | integer | The version number that Amazon Route 53 assigned to the traffic policy. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Route53::TrafficPolicy
Resources:
MyResource:
Type: AWS::Route53::TrafficPolicy
Properties:
Name: "my-name"
Document: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
route53:CreateTrafficPolicyroute53:ListTrafficPolicyVersionsroute53:ListTrafficPolicyVersionsroute53:UpdateTrafficPolicyCommentroute53:ListTrafficPolicyVersionsroute53:DeleteTrafficPolicyroute53:ListTrafficPolicyVersionsroute53:ListTrafficPoliciesEverything you need to know about Route53 on one page. HD quality, print-friendly.
Download Free InfographicArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameDocument