Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorCfg ¶
type OperatorCfg 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 // 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 // CloudFrontAliasCreation if should create a DNS alias for distribution. CloudFrontAliasCreation bool // CloudFrontCustomTags all custom tags that will be persisted to distribution. CloudFrontCustomTags map[string]string }
OperatorCfg represents all possible configurations for the Operator
Click to show internal directories.
Click to hide internal directories.