Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
// DeletionEnabled represent whether external components should be deleted based on K8s resources deletion
DeletionEnabled bool
// DefaultOriginDomain represents a valid domain to define in default origin.
DefaultOriginDomain 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
// 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
// CloudFrontDefaultCachingPolicyID is the default caching policy ID.
CloudFrontDefaultCachingPolicyID string
// CloudFrontDefaultDistributionRequestPolicyID is the default request policy for distributions.
CloudFrontDefaultCacheRequestPolicyID string
// CloudFrontDefaultPublicOriginAccessRequestPolicyID is the default request policy for public origin access.
CloudFrontDefaultPublicOriginAccessRequestPolicyID string
// CloudFrontDefaultBucketOriginAccessRequestPolicyID is the default request policy for bucket origin access.
CloudFrontDefaultBucketOriginAccessRequestPolicyID string
}
Config represents all possible configurations for the Operator
Click to show internal directories.
Click to hide internal directories.