TrafficPolicy

public struct TrafficPolicy : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The comment that you specify in the CreateTrafficPolicy request, if any.

    Declaration

    Swift

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

    Declaration

    Swift

    public let document: String
  • id

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

    Declaration

    Swift

    public let id: String
  • The name that you specified when you created the traffic policy.

    Declaration

    Swift

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

    Declaration

    Swift

    public let type: RRType
  • The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

    Declaration

    Swift

    public let version: Int
  • Undocumented

    Declaration

    Swift

    public init(comment: String? = nil, document: String, id: String, name: String, type: RRType, version: Int)