cloudfront

package
v0.0.0-...-62343dc Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTags

func ConvertTags(tags []types.Tag) map[string]string

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 ActiveTrustedSigners struct {
	Enabled  bool      `` /* 135-byte string literal not displayed */
	Quantity int32     `` /* 149-byte string literal not displayed */
	Items    []*Signer `` /* 148-byte string literal not displayed */
}

type AliasICPRecordal

type AliasICPRecordal struct {
	CNAME             string `` /* 155-byte string literal not displayed */
	ICPRecordalStatus string `` /* 239-byte string literal not displayed */
}

type Aliases

type Aliases struct {
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

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 CachedMethods struct {
	Items    []string `` /* 193-byte string literal not displayed */
	Quantity int32    `` /* 149-byte string literal not displayed */
}

type CookieNames

type CookieNames struct {
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

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 FunctionAssociation struct {
	EventType   string `` /* 185-byte string literal not displayed */
	FunctionARN string `` /* 197-byte string literal not displayed */
}

type FunctionAssociations

type FunctionAssociations struct {
	Quantity int32                  `` /* 149-byte string literal not displayed */
	Items    []*FunctionAssociation `` /* 148-byte string literal not displayed */
}

type GeoRestriction

type GeoRestriction struct {
	Quantity        int32    `` /* 149-byte string literal not displayed */
	RestrictionType string   `` /* 221-byte string literal not displayed */
	Items           []string `` /* 193-byte string literal not displayed */
}

type Headers

type Headers struct {
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

type KGKeyPairIds

type KGKeyPairIds struct {
	KeyGroupId string      `` /* 197-byte string literal not displayed */
	KeyPairIds *KeyPairIds `` /* 162-byte string literal not displayed */
}

type KeyPairIds

type KeyPairIds struct {
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

type LambdaFunctionAssociation

type LambdaFunctionAssociation struct {
	EventType         string `` /* 185-byte string literal not displayed */
	LambdaFunctionARN string `` /* 239-byte string literal not displayed */
	IncludeBody       bool   `` /* 165-byte string literal not displayed */
}

type LambdaFunctionAssociations

type LambdaFunctionAssociations struct {
	Quantity int32                        `` /* 149-byte string literal not displayed */
	Items    []*LambdaFunctionAssociation `` /* 148-byte string literal not displayed */
}

type LoggingConfig

type LoggingConfig struct {
	Bucket         string `` /* 161-byte string literal not displayed */
	Enabled        bool   `` /* 135-byte string literal not displayed */
	IncludeCookies bool   `` /* 183-byte string literal not displayed */
	Prefix         string `` /* 161-byte string literal not displayed */
}

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 OriginCustomHeader struct {
	HeaderName  string `` /* 191-byte string literal not displayed */
	HeaderValue string `` /* 197-byte string literal not displayed */
}

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 OriginShield struct {
	Enabled            bool   `` /* 135-byte string literal not displayed */
	OriginShieldRegion string `` /* 245-byte string literal not displayed */
}

type OriginSslProtocols

type OriginSslProtocols struct {
	Items    []string `` /* 193-byte string literal not displayed */
	Quantity int32    `` /* 149-byte string literal not displayed */
}

type Origins

type Origins struct {
	Items    []*Origin `` /* 148-byte string literal not displayed */
	Quantity int32     `` /* 149-byte string literal not displayed */
}

type QueryStringCacheKeys

type QueryStringCacheKeys struct {
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

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 StatusCodes struct {
	Items    []int32 `` /* 164-byte string literal not displayed */
	Quantity int32   `` /* 149-byte string literal not displayed */
}

type TrustedKeyGroups

type TrustedKeyGroups struct {
	Enabled  bool     `` /* 135-byte string literal not displayed */
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

type TrustedSigners

type TrustedSigners struct {
	Enabled  bool     `` /* 135-byte string literal not displayed */
	Quantity int32    `` /* 149-byte string literal not displayed */
	Items    []string `` /* 193-byte string literal not displayed */
}

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 */
}

Jump to

Keyboard shortcuts

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