Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Route53Service is the name of the Route 53 service. Route53Service = route53.ServiceName // ELBService is the name of the Elastic Load Balancing service. ELBService = elb.ServiceName // TaggingService is the name of the Resource Group Tagging service. TaggingService = resourcegroupstaggingapi.ServiceName )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // that is used by SDK to configure the credentials. SharedCredentialFile string // RoleARN is an optional ARN to use for the AWS client session that is // intended to only provide access to another account's Route 53 service. RoleARN string // Region is the AWS region ELBs are created in. Region string // ServiceEndpoints is the list of AWS API endpoints to use for // Provider clients. ServiceEndpoints []ServiceEndpoint // CustomCABundle is a custom CA bundle to use when accessing the AWS API CustomCABundle string // Client is a Kubernetes client, which the provider uses to annotate // DNSRecord CRs. Client client.Client }
Config is the necessary input to configure the manager.
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is a dns.Provider for AWS Route53. It only supports DNSRecords of type CNAME, and the CNAME records are implemented as A records using the Route53 Alias feature.
TODO: Records are considered owned by the manager if they exist in a managed zone and if their names match expectations. This is relatively dangerous compared to storing additional metadata (like tags or TXT records).
func NewProvider ¶
type ServiceEndpoint ¶
type ServiceEndpoint struct { // name is the name of the AWS service. The full list of service // names can be found at: // https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html Name string // url is a fully qualified URI that overrides the default generated // AWS API endpoint. URL string }
ServiceEndpoint stores the configuration of a custom url to override existing defaults of AWS Service API endpoints.
Click to show internal directories.
Click to hide internal directories.