Initialize connection to Route 53 DNS service
options parameter must include values for :aws_access_key_id and :aws_secret_access_key in order to create a connection
dns = Fog::DNS::AWS.new(
:aws_access_key_id => your_aws_access_key_id,
:aws_secret_access_key => your_aws_secret_access_key
)
Use this action to create or change your authoritative DNS information for a zone docs.amazonwebservices.com/Route53/latest/DeveloperGuide/RRSchanges.html#RRSchanges_API
Example changing a CNAME record:
change_batch_options = [
{
:action => "DELETE",
:name => "foo.example.com.",
:type => "CNAME",
:ttl => 3600,
:resource_records => [ "baz.example.com." ]
},
{
:action => "CREATE",
:name => "foo.example.com.",
:type => "CNAME",
:ttl => 3600,
:resource_records => [ "bar.example.com." ]
}
]
change_resource_record_sets("ABCDEFGHIJKLMN", change_batch_options)
This action creates a new health check. docs.aws.amazon.com/Route53/latest/APIReference/API_CreateHealthCheck.html
Creates a new hosted zone
calls to be retried without the risk of executing the operation twice
This action deletes a health check. docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteHealthCheck.html
Delete a hosted zone
returns the current state of a change request
This action gets information about a specified health check.
docs.aws.amazon.com/Route53/latest/APIReference/API_GetHealthCheck.html
==== Parameters
* id<~String> - The ID of the health check
==== Returns
* response<~Excon::Response>:
* body<~Hash>:
* 'HealthCheck'<~Hash>:
* 'Id'<~String> -
* 'CallerReference'<~String>
* 'HealthCheckConfig'<~Hash>:
* 'IPAddress'<~String> -
* 'Port'<~String> -
* 'Type'<~String> -
* 'ResourcePath'<~String> -
* 'FullyQualifiedDomainName'<~String> -
* 'SearchString'<~String> -
* 'RequestInterval'<~Integer> -
* 'FailureThreshold'<~String> -
* 'HealthCheckVersion'<~Integer> -
* status<~Integer> - 200 when successful
retrieve information about a hosted zone
This action gets a list of the health checks that are associated with the current AWS account. docs.aws.amazon.com/Route53/latest/APIReference/API_ListHealthChecks.html
Describe all or specified instances
list your resource record sets