cloudfrontcachepolicy

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cookies

type Cookies struct {
	// Items: set of string, optional
	Items terra.SetValue[terra.StringValue] `hcl:"items,attr"`
}

type CookiesAttributes

type CookiesAttributes struct {
	// contains filtered or unexported fields
}

func (CookiesAttributes) InternalRef

func (c CookiesAttributes) InternalRef() (terra.Reference, error)

func (CookiesAttributes) InternalTokens

func (c CookiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CookiesAttributes) InternalWithRef

func (c CookiesAttributes) InternalWithRef(ref terra.Reference) CookiesAttributes

func (CookiesAttributes) Items

type CookiesConfig

type CookiesConfig struct {
	// CookieBehavior: string, required
	CookieBehavior terra.StringValue `hcl:"cookie_behavior,attr" validate:"required"`
	// Cookies: optional
	Cookies *Cookies `hcl:"cookies,block"`
}

type CookiesConfigAttributes

type CookiesConfigAttributes struct {
	// contains filtered or unexported fields
}

func (CookiesConfigAttributes) CookieBehavior

func (cc CookiesConfigAttributes) CookieBehavior() terra.StringValue

func (CookiesConfigAttributes) Cookies

func (CookiesConfigAttributes) InternalRef

func (cc CookiesConfigAttributes) InternalRef() (terra.Reference, error)

func (CookiesConfigAttributes) InternalTokens

func (cc CookiesConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CookiesConfigAttributes) InternalWithRef

type CookiesConfigState

type CookiesConfigState struct {
	CookieBehavior string         `json:"cookie_behavior"`
	Cookies        []CookiesState `json:"cookies"`
}

type CookiesState

type CookiesState struct {
	Items []string `json:"items"`
}

type Headers

type Headers struct {
	// Items: set of string, optional
	Items terra.SetValue[terra.StringValue] `hcl:"items,attr"`
}

type HeadersAttributes

type HeadersAttributes struct {
	// contains filtered or unexported fields
}

func (HeadersAttributes) InternalRef

func (h HeadersAttributes) InternalRef() (terra.Reference, error)

func (HeadersAttributes) InternalTokens

func (h HeadersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HeadersAttributes) InternalWithRef

func (h HeadersAttributes) InternalWithRef(ref terra.Reference) HeadersAttributes

func (HeadersAttributes) Items

type HeadersConfig

type HeadersConfig struct {
	// HeaderBehavior: string, optional
	HeaderBehavior terra.StringValue `hcl:"header_behavior,attr"`
	// Headers: optional
	Headers *Headers `hcl:"headers,block"`
}

type HeadersConfigAttributes

type HeadersConfigAttributes struct {
	// contains filtered or unexported fields
}

func (HeadersConfigAttributes) HeaderBehavior

func (hc HeadersConfigAttributes) HeaderBehavior() terra.StringValue

func (HeadersConfigAttributes) Headers

func (HeadersConfigAttributes) InternalRef

func (hc HeadersConfigAttributes) InternalRef() (terra.Reference, error)

func (HeadersConfigAttributes) InternalTokens

func (hc HeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HeadersConfigAttributes) InternalWithRef

type HeadersConfigState

type HeadersConfigState struct {
	HeaderBehavior string         `json:"header_behavior"`
	Headers        []HeadersState `json:"headers"`
}

type HeadersState

type HeadersState struct {
	Items []string `json:"items"`
}

type ParametersInCacheKeyAndForwardedToOrigin

type ParametersInCacheKeyAndForwardedToOrigin struct {
	// EnableAcceptEncodingBrotli: bool, optional
	EnableAcceptEncodingBrotli terra.BoolValue `hcl:"enable_accept_encoding_brotli,attr"`
	// EnableAcceptEncodingGzip: bool, optional
	EnableAcceptEncodingGzip terra.BoolValue `hcl:"enable_accept_encoding_gzip,attr"`
	// CookiesConfig: required
	CookiesConfig *CookiesConfig `hcl:"cookies_config,block" validate:"required"`
	// HeadersConfig: required
	HeadersConfig *HeadersConfig `hcl:"headers_config,block" validate:"required"`
	// QueryStringsConfig: required
	QueryStringsConfig *QueryStringsConfig `hcl:"query_strings_config,block" validate:"required"`
}

type ParametersInCacheKeyAndForwardedToOriginAttributes

type ParametersInCacheKeyAndForwardedToOriginAttributes struct {
	// contains filtered or unexported fields
}

func (ParametersInCacheKeyAndForwardedToOriginAttributes) CookiesConfig

func (ParametersInCacheKeyAndForwardedToOriginAttributes) EnableAcceptEncodingBrotli

func (pickafto ParametersInCacheKeyAndForwardedToOriginAttributes) EnableAcceptEncodingBrotli() terra.BoolValue

func (ParametersInCacheKeyAndForwardedToOriginAttributes) EnableAcceptEncodingGzip

func (pickafto ParametersInCacheKeyAndForwardedToOriginAttributes) EnableAcceptEncodingGzip() terra.BoolValue

func (ParametersInCacheKeyAndForwardedToOriginAttributes) HeadersConfig

func (ParametersInCacheKeyAndForwardedToOriginAttributes) InternalRef

func (ParametersInCacheKeyAndForwardedToOriginAttributes) InternalTokens

func (ParametersInCacheKeyAndForwardedToOriginAttributes) InternalWithRef

func (ParametersInCacheKeyAndForwardedToOriginAttributes) QueryStringsConfig

type ParametersInCacheKeyAndForwardedToOriginState

type ParametersInCacheKeyAndForwardedToOriginState struct {
	EnableAcceptEncodingBrotli bool                      `json:"enable_accept_encoding_brotli"`
	EnableAcceptEncodingGzip   bool                      `json:"enable_accept_encoding_gzip"`
	CookiesConfig              []CookiesConfigState      `json:"cookies_config"`
	HeadersConfig              []HeadersConfigState      `json:"headers_config"`
	QueryStringsConfig         []QueryStringsConfigState `json:"query_strings_config"`
}

type QueryStrings

type QueryStrings struct {
	// Items: set of string, optional
	Items terra.SetValue[terra.StringValue] `hcl:"items,attr"`
}

type QueryStringsAttributes

type QueryStringsAttributes struct {
	// contains filtered or unexported fields
}

func (QueryStringsAttributes) InternalRef

func (qs QueryStringsAttributes) InternalRef() (terra.Reference, error)

func (QueryStringsAttributes) InternalTokens

func (qs QueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueryStringsAttributes) InternalWithRef

func (QueryStringsAttributes) Items

type QueryStringsConfig

type QueryStringsConfig struct {
	// QueryStringBehavior: string, required
	QueryStringBehavior terra.StringValue `hcl:"query_string_behavior,attr" validate:"required"`
	// QueryStrings: optional
	QueryStrings *QueryStrings `hcl:"query_strings,block"`
}

type QueryStringsConfigAttributes

type QueryStringsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (QueryStringsConfigAttributes) InternalRef

func (qsc QueryStringsConfigAttributes) InternalRef() (terra.Reference, error)

func (QueryStringsConfigAttributes) InternalTokens

func (qsc QueryStringsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueryStringsConfigAttributes) InternalWithRef

func (QueryStringsConfigAttributes) QueryStringBehavior

func (qsc QueryStringsConfigAttributes) QueryStringBehavior() terra.StringValue

func (QueryStringsConfigAttributes) QueryStrings

type QueryStringsConfigState

type QueryStringsConfigState struct {
	QueryStringBehavior string              `json:"query_string_behavior"`
	QueryStrings        []QueryStringsState `json:"query_strings"`
}

type QueryStringsState

type QueryStringsState struct {
	Items []string `json:"items"`
}

Jump to

Keyboard shortcuts

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