CreateTrafficPolicyInstanceRequest

public struct CreateTrafficPolicyInstanceRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let hostedZoneId: String
  • 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.

    Declaration

    Swift

    public let name: String
  • The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

    Declaration

    Swift

    public let trafficPolicyId: String
  • The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

    Declaration

    Swift

    public let trafficPolicyVersion: Int
  • 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.

    Declaration

    Swift

    public let ttl: Int64
  • Undocumented

    Declaration

    Swift

    public init(hostedZoneId: String, name: String, trafficPolicyId: String, trafficPolicyVersion: Int, ttl: Int64)
  • Declaration

    Swift

    public func validate(name: String) throws