NAME
Paws::Route53::TrafficPolicy
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Route53::TrafficPolicy object:
$service_obj->Method(Att1 => { Comment => $value, ..., Version => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::TrafficPolicy object:
$result = $service_obj->Method(...);
$result->Att1->Comment
DESCRIPTION
A complex type that contains settings for a traffic policy.
ATTRIBUTES
Comment => Str
The comment that you specify in the CreateTrafficPolicy
request, if any.
REQUIRED Document => Str
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 (https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html).
REQUIRED Id => Str
The ID that Amazon Route 53 assigned to a traffic policy when you created it.
REQUIRED Name => Str
The name that you specified when you created the traffic policy.
REQUIRED Type => Str
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.
REQUIRED Version => Int
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version
is always 1.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Route53
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues