Documentation ¶
Overview ¶
Package route53 provides logic and data structures necessary to enumerate and integrate AWS Route 53 resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSResourceReport ¶
type AWSResourceReport struct { AccountID string `json:"account_id" yaml:"account_id"` Resources AWSResources `json:"resources" yaml:"resources"` Errors []string `json:"errors" yaml:"errors"` }
AWSResourceReport contains the account ID that the Route 53 hosted zones were discovered in, the resources themselves, and any non-fatal errors that occurred during the execution of the `methodaws route53 enumerate` subcommand.
func EnumerateRoute53 ¶
EnumerateRoute53 retrieves all Route 53 hosted zones available to the caller and returns an AWSResourceReport struct
type AWSResources ¶
type AWSResources struct {
HostedZones []EnrichedHostedZone `json:"hosted_zones" yaml:"hosted_zones"`
}
AWSResources contains the Route 53 hosted zones that were enumerated.
type EnrichedHostedZone ¶
type EnrichedHostedZone struct { ZoneDetails types.HostedZone `json:"zone_details" yaml:"zone_details"` ResourceRecordSets []types.ResourceRecordSet `json:"resource_record_sets" yaml:"resource_record_sets"` }
EnrichedHostedZone wraps the AWS representations of a hosted zone and its associated resource record sets.