cname

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package cname contains tools for finding the CNAMEs associated with a distribution in CloudFront.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromArgs

func FromArgs(args []string) (err error)

FromArgs takes command line arguments and prints matching CloudFront IDs. Warning: Exits for unknown flags.

func GetID

func GetID(cf *cloudfront.CloudFront, cname string) (ids []string, err error)

GetID returns a list of CloudFront IDs for distributions with CNAMEs matching cname.

func List

func List(cf *cloudfront.CloudFront) (cnames map[string][]string, err error)

List returns a map from CloudFront distribution IDs to associate CNAME aliases.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL