class Aws::Route53::Types::CreateTrafficPolicyInstanceRequest
A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.
@note When making an API call, you may pass CreateTrafficPolicyInstanceRequest
data as a hash: { hosted_zone_id: "ResourceId", # required name: "DNSName", # required ttl: 1, # required traffic_policy_id: "TrafficPolicyId", # required traffic_policy_version: 1, # required }
@!attribute [rw] hosted_zone_id
The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy. @return [String]
@!attribute [rw] name
The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance. @return [String]
@!attribute [rw] ttl
(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone. @return [Integer]
@!attribute [rw] traffic_policy_id
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone. @return [String]
@!attribute [rw] traffic_policy_version
The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstanceRequest AWS API Documentation
Constants
- SENSITIVE