Documentation
¶
Overview ¶
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_helpers_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl
AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_fetching_file.tmpl
Index ¶
- func ConvertTags(tags []types.Tag) map[string]string
- type ActiveTrustedKeyGroups
- type ActiveTrustedSigners
- type AliasICPRecordal
- type Aliases
- type AllowedMethods
- type CacheBehavior
- type CacheBehaviors
- type CachedMethods
- type CookieNames
- type CookiePreference
- type CustomErrorResponse
- type CustomErrorResponses
- type CustomHeaders
- type CustomOriginConfig
- type DefaultCacheBehavior
- type Distribution
- type DistributionConfig
- type ForwardedValues
- type FunctionAssociation
- type FunctionAssociations
- type GeoRestriction
- type Headers
- type KGKeyPairIds
- type KeyPairIds
- type LambdaFunctionAssociation
- type LambdaFunctionAssociations
- type LoggingConfig
- type Origin
- type OriginCustomHeader
- type OriginGroup
- type OriginGroupFailoverCriteria
- type OriginGroupMember
- type OriginGroupMembers
- type OriginGroups
- type OriginShield
- type OriginSslProtocols
- type Origins
- type QueryStringCacheKeys
- type Restrictions
- type S3OriginConfig
- type Signer
- type StatusCodes
- type TrustedKeyGroups
- type TrustedSigners
- type ViewerCertificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActiveTrustedKeyGroups ¶
type ActiveTrustedKeyGroups struct { Enabled bool `` /* 135-byte string literal not displayed */ Quantity int32 `` /* 149-byte string literal not displayed */ Items []*KGKeyPairIds `` /* 148-byte string literal not displayed */ }
type ActiveTrustedSigners ¶
type AliasICPRecordal ¶
type AllowedMethods ¶
type AllowedMethods struct { Items []string `` /* 193-byte string literal not displayed */ Quantity int32 `` /* 149-byte string literal not displayed */ CachedMethods *CachedMethods `` /* 174-byte string literal not displayed */ }
type CacheBehavior ¶
type CacheBehavior struct { PathPattern string `` /* 197-byte string literal not displayed */ TargetOriginId string `` /* 221-byte string literal not displayed */ ViewerProtocolPolicy string `` /* 257-byte string literal not displayed */ AllowedMethods *AllowedMethods `` /* 180-byte string literal not displayed */ CachePolicyId string `` /* 215-byte string literal not displayed */ Compress bool `` /* 141-byte string literal not displayed */ DefaultTTL int64 `` /* 167-byte string literal not displayed */ FieldLevelEncryptionId string `` /* 275-byte string literal not displayed */ ForwardedValues *ForwardedValues `` /* 186-byte string literal not displayed */ FunctionAssociations *FunctionAssociations `` /* 216-byte string literal not displayed */ LambdaFunctionAssociations *LambdaFunctionAssociations `` /* 258-byte string literal not displayed */ MaxTTL int64 `` /* 143-byte string literal not displayed */ MinTTL int64 `` /* 143-byte string literal not displayed */ OriginRequestPolicyId string `` /* 269-byte string literal not displayed */ RealtimeLogConfigArn string `` /* 263-byte string literal not displayed */ ResponseHeadersPolicyId string `` /* 281-byte string literal not displayed */ SmoothStreaming bool `` /* 189-byte string literal not displayed */ TrustedKeyGroups *TrustedKeyGroups `` /* 198-byte string literal not displayed */ TrustedSigners *TrustedSigners `` /* 180-byte string literal not displayed */ }
type CacheBehaviors ¶
type CacheBehaviors struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*CacheBehavior `` /* 148-byte string literal not displayed */ }
type CachedMethods ¶
type CookieNames ¶
type CookiePreference ¶
type CookiePreference struct { Forward string `` /* 167-byte string literal not displayed */ WhitelistedNames *CookieNames `` /* 192-byte string literal not displayed */ }
type CustomErrorResponse ¶
type CustomErrorResponse struct { ErrorCode int32 `` /* 161-byte string literal not displayed */ ErrorCachingMinTTL int64 `` /* 227-byte string literal not displayed */ ResponseCode string `` /* 203-byte string literal not displayed */ ResponsePagePath string `` /* 233-byte string literal not displayed */ }
type CustomErrorResponses ¶
type CustomErrorResponses struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*CustomErrorResponse `` /* 148-byte string literal not displayed */ }
type CustomHeaders ¶
type CustomHeaders struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*OriginCustomHeader `` /* 148-byte string literal not displayed */ }
type CustomOriginConfig ¶
type CustomOriginConfig struct { HTTPPort int32 `` /* 155-byte string literal not displayed */ HTTPSPort int32 `` /* 161-byte string literal not displayed */ OriginProtocolPolicy string `` /* 257-byte string literal not displayed */ OriginKeepaliveTimeout int32 `` /* 245-byte string literal not displayed */ OriginReadTimeout int32 `` /* 215-byte string literal not displayed */ OriginSslProtocols *OriginSslProtocols `` /* 210-byte string literal not displayed */ }
type DefaultCacheBehavior ¶
type DefaultCacheBehavior struct { TargetOriginId string `` /* 221-byte string literal not displayed */ ViewerProtocolPolicy string `` /* 257-byte string literal not displayed */ AllowedMethods *AllowedMethods `` /* 180-byte string literal not displayed */ CachePolicyId string `` /* 215-byte string literal not displayed */ Compress bool `` /* 141-byte string literal not displayed */ DefaultTTL int64 `` /* 167-byte string literal not displayed */ FieldLevelEncryptionId string `` /* 275-byte string literal not displayed */ ForwardedValues *ForwardedValues `` /* 186-byte string literal not displayed */ FunctionAssociations *FunctionAssociations `` /* 216-byte string literal not displayed */ LambdaFunctionAssociations *LambdaFunctionAssociations `` /* 258-byte string literal not displayed */ MaxTTL int64 `` /* 143-byte string literal not displayed */ MinTTL int64 `` /* 143-byte string literal not displayed */ OriginRequestPolicyId string `` /* 269-byte string literal not displayed */ RealtimeLogConfigArn string `` /* 263-byte string literal not displayed */ ResponseHeadersPolicyId string `` /* 281-byte string literal not displayed */ SmoothStreaming bool `` /* 189-byte string literal not displayed */ TrustedKeyGroups *TrustedKeyGroups `` /* 198-byte string literal not displayed */ TrustedSigners *TrustedSigners `` /* 180-byte string literal not displayed */ }
type Distribution ¶
type Distribution struct { ARN string `` /* 183-byte string literal not displayed */ DistributionConfig *DistributionConfig `` /* 204-byte string literal not displayed */ DomainName string `` /* 191-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ InProgressInvalidationBatches int32 `` /* 293-byte string literal not displayed */ LastModifiedTime int64 `` /* 240-byte string literal not displayed */ Status string `` /* 161-byte string literal not displayed */ ActiveTrustedKeyGroups *ActiveTrustedKeyGroups `` /* 240-byte string literal not displayed */ ActiveTrustedSigners *ActiveTrustedSigners `` /* 222-byte string literal not displayed */ AliasICPRecordals []*AliasICPRecordal `` /* 232-byte string literal not displayed */ AccountId string `` /* 185-byte string literal not displayed */ Region string `` /* 161-byte string literal not displayed */ ReportTime int64 `` /* 208-byte string literal not displayed */ InventoryUUID string `` /* 152-byte string literal not displayed */ Tags map[string]string `` /* 209-byte string literal not displayed */ }
func FetchDistributions ¶
func FetchDistributions(ctx context.Context, params *aws.AwsFetchInput) ([]*Distribution, *aws.AwsFetchOutputMetadata)
type DistributionConfig ¶
type DistributionConfig struct { CallerReference string `` /* 221-byte string literal not displayed */ Comment string `` /* 167-byte string literal not displayed */ DefaultCacheBehavior *DefaultCacheBehavior `` /* 222-byte string literal not displayed */ Enabled bool `` /* 135-byte string literal not displayed */ Origins *Origins `` /* 132-byte string literal not displayed */ Aliases *Aliases `` /* 132-byte string literal not displayed */ CacheBehaviors *CacheBehaviors `` /* 180-byte string literal not displayed */ CustomErrorResponses *CustomErrorResponses `` /* 222-byte string literal not displayed */ DefaultRootObject string `` /* 239-byte string literal not displayed */ HttpVersion string `` /* 197-byte string literal not displayed */ IsIPV6Enabled bool `` /* 183-byte string literal not displayed */ Logging *LoggingConfig `` /* 132-byte string literal not displayed */ OriginGroups *OriginGroups `` /* 168-byte string literal not displayed */ PriceClass string `` /* 191-byte string literal not displayed */ Restrictions *Restrictions `` /* 162-byte string literal not displayed */ ViewerCertificate *ViewerCertificate `` /* 198-byte string literal not displayed */ WebACLId string `` /* 185-byte string literal not displayed */ }
type ForwardedValues ¶
type ForwardedValues struct { Cookies *CookiePreference `` /* 132-byte string literal not displayed */ QueryString bool `` /* 165-byte string literal not displayed */ Headers *Headers `` /* 132-byte string literal not displayed */ QueryStringCacheKeys *QueryStringCacheKeys `` /* 228-byte string literal not displayed */ }
type FunctionAssociation ¶
type FunctionAssociations ¶
type FunctionAssociations struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*FunctionAssociation `` /* 148-byte string literal not displayed */ }
type GeoRestriction ¶
type KGKeyPairIds ¶
type KGKeyPairIds struct { KeyGroupId string `` /* 197-byte string literal not displayed */ KeyPairIds *KeyPairIds `` /* 162-byte string literal not displayed */ }
type KeyPairIds ¶
type LambdaFunctionAssociations ¶
type LambdaFunctionAssociations struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*LambdaFunctionAssociation `` /* 148-byte string literal not displayed */ }
type LoggingConfig ¶
type Origin ¶
type Origin struct { DomainName string `` /* 191-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ ConnectionAttempts int32 `` /* 215-byte string literal not displayed */ ConnectionTimeout int32 `` /* 209-byte string literal not displayed */ CustomHeaders *CustomHeaders `` /* 174-byte string literal not displayed */ CustomOriginConfig *CustomOriginConfig `` /* 210-byte string literal not displayed */ OriginPath string `` /* 191-byte string literal not displayed */ OriginShield *OriginShield `` /* 168-byte string literal not displayed */ S3OriginConfig *S3OriginConfig `` /* 186-byte string literal not displayed */ }
type OriginCustomHeader ¶
type OriginGroup ¶
type OriginGroup struct { FailoverCriteria *OriginGroupFailoverCriteria `` /* 192-byte string literal not displayed */ Id string `` /* 137-byte string literal not displayed */ Members *OriginGroupMembers `` /* 132-byte string literal not displayed */ }
type OriginGroupFailoverCriteria ¶
type OriginGroupFailoverCriteria struct {
StatusCodes *StatusCodes `` /* 162-byte string literal not displayed */
}
type OriginGroupMember ¶
type OriginGroupMember struct {
OriginId string `` /* 179-byte string literal not displayed */
}
type OriginGroupMembers ¶
type OriginGroupMembers struct { Items []*OriginGroupMember `` /* 148-byte string literal not displayed */ Quantity int32 `` /* 149-byte string literal not displayed */ }
type OriginGroups ¶
type OriginGroups struct { Quantity int32 `` /* 149-byte string literal not displayed */ Items []*OriginGroup `` /* 148-byte string literal not displayed */ }
type OriginShield ¶
type OriginSslProtocols ¶
type QueryStringCacheKeys ¶
type Restrictions ¶
type Restrictions struct {
GeoRestriction *GeoRestriction `` /* 180-byte string literal not displayed */
}
type S3OriginConfig ¶
type S3OriginConfig struct {
OriginAccessIdentity string `` /* 257-byte string literal not displayed */
}
type Signer ¶
type Signer struct { AwsAccountNumber string `` /* 233-byte string literal not displayed */ KeyPairIds *KeyPairIds `` /* 162-byte string literal not displayed */ }
type StatusCodes ¶
type TrustedKeyGroups ¶
type TrustedSigners ¶
type ViewerCertificate ¶
type ViewerCertificate struct { ACMCertificateArn string `` /* 239-byte string literal not displayed */ Certificate string `` /* 191-byte string literal not displayed */ CertificateSource string `` /* 233-byte string literal not displayed */ CloudFrontDefaultCertificate bool `` /* 279-byte string literal not displayed */ IAMCertificateId string `` /* 233-byte string literal not displayed */ MinimumProtocolVersion string `` /* 269-byte string literal not displayed */ SSLSupportMethod string `` /* 233-byte string literal not displayed */ }
Click to show internal directories.
Click to hide internal directories.