Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CDNClassKey is the env var key that controls class
CDNClassKey = "cdn_class"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.0.8
type Config struct { // LogLevel represents log verbosity. Overridden to "debug" if DevMode is true. LogLevel string // DevMode when set to "true" logs in unstructured text instead of JSON. DevMode bool // DefaultOriginDomain represents a valid domain to define in default origin. DefaultOriginDomain string // CDNClass represents the set of resources managed by this deployment of the controller CDNClass string // CloudFrontPriceClass determines how many edge locations CloudFront will use for your distribution. // ref: https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfront/ CloudFrontPriceClass string // CloudFrontWAFARN the Web ACL ARN. CloudFrontWAFARN string // CloudFrontCustomSSLCertARN the ACM certificate ARN. CloudFrontCustomSSLCertARN string // CloudFrontSecurityPolicy the minimum SSL/TLS protocol that CloudFront can use to communicate with viewers. // ref: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html CloudFrontSecurityPolicy string // CloudFrontEnableLogging if should enable cloudfront logging. CloudFrontEnableLogging bool // CloudFrontS3BucketLog if logging enabled represents the S3 Bucket URL to persists, for example myawslogbucket.s3.amazonaws.com. CloudFrontS3BucketLog string // CloudFrontEnableIPV6 if should enable ipv6 for distribution responses. CloudFrontEnableIPV6 bool // CloudFrontDescriptionTemplate the description template for distribution. CloudFrontDescriptionTemplate string // CloudFrontRoute53CreateAlias if should create a DNS alias for distribution. CloudFrontRoute53CreateAlias bool // CloudFrontRoute53HostedZoneID is the R53 hosted zone id that should host the aliases CloudFrontRoute53HostedZoneID string // CloudFrontRoute53TxtOwnerValue is the value to be used when creating ownership TXT records for aliases CloudFrontRoute53TxtOwnerValue string // CloudFrontCustomTags all custom tags that will be persisted to distribution. CloudFrontCustomTags map[string]string }
Config represents all possible configurations for the Operator
Click to show internal directories.
Click to hide internal directories.