cachepolicy

package
v0.0.0-...-1f78e34 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachePolicyConfig

type CachePolicyConfig struct {
	Comment                                  string                                    `json:"Comment,omitempty"`
	DefaultTTL                               float64                                   `json:"DefaultTTL"`
	MaxTTL                                   float64                                   `json:"MaxTTL"`
	MinTTL                                   float64                                   `json:"MinTTL"`
	Name                                     string                                    `json:"Name"`
	ParametersInCacheKeyAndForwardedToOrigin *ParametersInCacheKeyAndForwardedToOrigin `json:"ParametersInCacheKeyAndForwardedToOrigin"`
}

CachePolicyConfig

func (*CachePolicyConfig) MarshalJSON

func (strct *CachePolicyConfig) MarshalJSON() ([]byte, error)

func (*CachePolicyConfig) UnmarshalJSON

func (strct *CachePolicyConfig) UnmarshalJSON(b []byte) error

type CookiesConfig

type CookiesConfig struct {
	CookieBehavior string   `json:"CookieBehavior"`
	Cookies        []string `json:"Cookies,omitempty"`
}

CookiesConfig

func (*CookiesConfig) MarshalJSON

func (strct *CookiesConfig) MarshalJSON() ([]byte, error)

func (*CookiesConfig) UnmarshalJSON

func (strct *CookiesConfig) UnmarshalJSON(b []byte) error

type HeadersConfig

type HeadersConfig struct {
	HeaderBehavior string   `json:"HeaderBehavior"`
	Headers        []string `json:"Headers,omitempty"`
}

HeadersConfig

func (*HeadersConfig) MarshalJSON

func (strct *HeadersConfig) MarshalJSON() ([]byte, error)

func (*HeadersConfig) UnmarshalJSON

func (strct *HeadersConfig) UnmarshalJSON(b []byte) error

type ParametersInCacheKeyAndForwardedToOrigin

type ParametersInCacheKeyAndForwardedToOrigin struct {
	CookiesConfig              *CookiesConfig      `json:"CookiesConfig"`
	EnableAcceptEncodingBrotli bool                `json:"EnableAcceptEncodingBrotli,omitempty"`
	EnableAcceptEncodingGzip   bool                `json:"EnableAcceptEncodingGzip"`
	HeadersConfig              *HeadersConfig      `json:"HeadersConfig"`
	QueryStringsConfig         *QueryStringsConfig `json:"QueryStringsConfig"`
}

ParametersInCacheKeyAndForwardedToOrigin

func (*ParametersInCacheKeyAndForwardedToOrigin) MarshalJSON

func (strct *ParametersInCacheKeyAndForwardedToOrigin) MarshalJSON() ([]byte, error)

func (*ParametersInCacheKeyAndForwardedToOrigin) UnmarshalJSON

func (strct *ParametersInCacheKeyAndForwardedToOrigin) UnmarshalJSON(b []byte) error

type QueryStringsConfig

type QueryStringsConfig struct {
	QueryStringBehavior string   `json:"QueryStringBehavior"`
	QueryStrings        []string `json:"QueryStrings,omitempty"`
}

QueryStringsConfig

func (*QueryStringsConfig) MarshalJSON

func (strct *QueryStringsConfig) MarshalJSON() ([]byte, error)

func (*QueryStringsConfig) UnmarshalJSON

func (strct *QueryStringsConfig) UnmarshalJSON(b []byte) error

type Resource

type Resource struct {
	CachePolicyConfig *CachePolicyConfig `json:"CachePolicyConfig"`
	Id                string             `json:"Id,omitempty"`
	LastModifiedTime  string             `json:"LastModifiedTime,omitempty"`
}

Resource Resource Type definition for AWS::CloudFront::CachePolicy

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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