Class | AWS::Route53::ResourceRecordSetCollection |
In: |
lib/aws/route_53/resource_record_set_collection.rb
|
Parent: | Object |
# Create new resource record set
rrsets = AWS::Route53::HostedZone.new(hosted_zone_id).rrsets rrset = rrsets.create('foo.example.com.', 'A', :ttl => 300, :resource_records => [{:value => '127.0.0.1'}])
# Find existing resource record set
rrsets = AWS::Route53::HostedZone.new(hosted_zone_id).rrsets rrset = rrsets['foo.example.com.', 'A']
hosted_zone_id | [R] | @return [String] |
Find resource record set by its name, type and identifier. @param [String] name @param [String] type @param [String] set_identifier @return [ResourceRecordSet]
Create new resource record set. @param [String] name @param [String] type @param [Hash] options @return [ResourceRecordSet]