You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Route53::Types::CreateTrafficPolicyVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53::Types::CreateTrafficPolicyVersionRequest
- Defined in:
- (unknown)
Overview
When passing CreateTrafficPolicyVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
id: "TrafficPolicyId", # required
document: "TrafficPolicyDocument", # required
comment: "TrafficPolicyComment",
}
A complex type that contains information about the traffic policy that you want to create a new version for.
Instance Attribute Summary collapse
-
#comment ⇒ String
The comment that you specified in the
CreateTrafficPolicyVersion
request, if any. -
#document ⇒ String
The definition of this version of the traffic policy, in JSON format.
-
#id ⇒ String
The ID of the traffic policy for which you want to create a new version.
Instance Attribute Details
#comment ⇒ String
The comment that you specified in the CreateTrafficPolicyVersion
request, if any.
#document ⇒ String
The definition of this version of the traffic policy, in JSON format.
You specified the JSON in the CreateTrafficPolicyVersion
request. For
more information about the JSON format, see CreateTrafficPolicy.
#id ⇒ String
The ID of the traffic policy for which you want to create a new version.