You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::ChangeResourceRecordSetsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ChangeResourceRecordSetsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  hosted_zone_id: "ResourceId", # required
  change_batch: { # required
    comment: "ResourceDescription",
    changes: [ # required
      {
        action: "CREATE", # required, accepts CREATE, DELETE, UPSERT
        resource_record_set: { # required
          name: "DNSName", # required
          type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
          set_identifier: "ResourceRecordSetIdentifier",
          weight: 1,
          region: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, eu-north-1, sa-east-1, cn-north-1, cn-northwest-1, ap-east-1, me-south-1, ap-south-1, af-south-1, eu-south-1
          geo_location: {
            continent_code: "GeoLocationContinentCode",
            country_code: "GeoLocationCountryCode",
            subdivision_code: "GeoLocationSubdivisionCode",
          },
          failover: "PRIMARY", # accepts PRIMARY, SECONDARY
          multi_value_answer: false,
          ttl: 1,
          resource_records: [
            {
              value: "RData", # required
            },
          ],
          alias_target: {
            hosted_zone_id: "ResourceId", # required
            dns_name: "DNSName", # required
            evaluate_target_health: false, # required
          },
          health_check_id: "HealthCheckId",
          traffic_policy_instance_id: "TrafficPolicyInstanceId",
        },
      },
    ],
  },
}

A complex type that contains change information for the resource record set.

Instance Attribute Summary collapse

Instance Attribute Details

#change_batchTypes::ChangeBatch

A complex type that contains an optional comment and the Changes element.

Returns:

  • (Types::ChangeBatch)

    A complex type that contains an optional comment and the Changes element.

#hosted_zone_idString

The ID of the hosted zone that contains the resource record sets that you want to change.

Returns:

  • (String)

    The ID of the hosted zone that contains the resource record sets that you want to change.