Class AWS::Route53::ResourceRecordSet
In: lib/aws/route_53/resource_record_set.rb
Parent: Core::Resource

# Modify resource record set

    rrsets = AWS::Route53::HostedZone.new(hosted_zone_id).rrsets
    rrset = rrsets['foo.example.com.', 'A']
    rrset.ttl = 3600
    rrset.update

# Delete existing resource record set

    rrsets = AWS::Route53::HostedZone.new(hosted_zone_id).rrsets
    rrset = rrsets['foo.example.com.', 'A']
    rrset.delete

@attr_reader [Hash] alias_target

@attr_reader [Integer] weight

@attr_reader [String] region

@attr_reader [Integer] ttl

@attr_reader [Array<Hash>] resource_records

Methods

External Aliases

set_identifier -> identifier

Attributes

change_info  [R]  @return [ChangeInfo]
hosted_zone_id  [R]  @return [String] The hosted zone ID.
name  [R]  @return [String] name
set_identifier  [R]  @return [String]
type  [R]  @return [String]

Public Class methods

Public Instance methods

@param [Hash] new_target @return [Hash]

Delete resource record set. @param [Hash] options Options for change batch. @return [ChangeInfo]

@return [Boolean] Returns `true` if this rrset exists.

identifier=(new_identifier)

Alias for set_identifier=

@param [String] new_name @return [String]

Return a new change batch for this hosted zone. @param [Hash] options Options for change batch. @return [ChangeBatch]

Return the create request that update would include in its change batch. Note that update also includes a delete request. @return [CreateRequest]

Return a delete request that would delete this resource record set. @return [DeleteRequest]

@param [String] new_region @return [String]

@param [Array<Hash>] new_rrs @return [Array<Hash>]

@param [String] new_identifier @return [String]

@param [Integer] new_ttl @return [Integer]

@param [String] new_type @return [String]

Update values of resource record set. @param [Hash] options Options for change batch. @return [ResourceRecordSet] New resource record set with current value.

@param [Integer] new_weight @return [Integer]

Protected Instance methods

[Validate]