lightsaildistribution

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 CacheBehavior

type CacheBehavior struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type CacheBehaviorAttributes

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

func (CacheBehaviorAttributes) Behavior

func (CacheBehaviorAttributes) InternalRef

func (cb CacheBehaviorAttributes) InternalRef() (terra.Reference, error)

func (CacheBehaviorAttributes) InternalTokens

func (cb CacheBehaviorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CacheBehaviorAttributes) InternalWithRef

func (CacheBehaviorAttributes) Path

type CacheBehaviorSettings

type CacheBehaviorSettings struct {
	// AllowedHttpMethods: string, optional
	AllowedHttpMethods terra.StringValue `hcl:"allowed_http_methods,attr"`
	// CachedHttpMethods: string, optional
	CachedHttpMethods terra.StringValue `hcl:"cached_http_methods,attr"`
	// DefaultTtl: number, optional
	DefaultTtl terra.NumberValue `hcl:"default_ttl,attr"`
	// MaximumTtl: number, optional
	MaximumTtl terra.NumberValue `hcl:"maximum_ttl,attr"`
	// MinimumTtl: number, optional
	MinimumTtl terra.NumberValue `hcl:"minimum_ttl,attr"`
	// ForwardedCookies: optional
	ForwardedCookies *ForwardedCookies `hcl:"forwarded_cookies,block"`
	// ForwardedHeaders: optional
	ForwardedHeaders *ForwardedHeaders `hcl:"forwarded_headers,block"`
	// ForwardedQueryStrings: optional
	ForwardedQueryStrings *ForwardedQueryStrings `hcl:"forwarded_query_strings,block"`
}

type CacheBehaviorSettingsAttributes

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

func (CacheBehaviorSettingsAttributes) AllowedHttpMethods

func (cbs CacheBehaviorSettingsAttributes) AllowedHttpMethods() terra.StringValue

func (CacheBehaviorSettingsAttributes) CachedHttpMethods

func (cbs CacheBehaviorSettingsAttributes) CachedHttpMethods() terra.StringValue

func (CacheBehaviorSettingsAttributes) DefaultTtl

func (CacheBehaviorSettingsAttributes) ForwardedCookies

func (CacheBehaviorSettingsAttributes) ForwardedHeaders

func (CacheBehaviorSettingsAttributes) ForwardedQueryStrings

func (CacheBehaviorSettingsAttributes) InternalRef

func (CacheBehaviorSettingsAttributes) InternalTokens

func (cbs CacheBehaviorSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CacheBehaviorSettingsAttributes) InternalWithRef

func (CacheBehaviorSettingsAttributes) MaximumTtl

func (CacheBehaviorSettingsAttributes) MinimumTtl

type CacheBehaviorSettingsState

type CacheBehaviorSettingsState struct {
	AllowedHttpMethods    string                       `json:"allowed_http_methods"`
	CachedHttpMethods     string                       `json:"cached_http_methods"`
	DefaultTtl            float64                      `json:"default_ttl"`
	MaximumTtl            float64                      `json:"maximum_ttl"`
	MinimumTtl            float64                      `json:"minimum_ttl"`
	ForwardedCookies      []ForwardedCookiesState      `json:"forwarded_cookies"`
	ForwardedHeaders      []ForwardedHeadersState      `json:"forwarded_headers"`
	ForwardedQueryStrings []ForwardedQueryStringsState `json:"forwarded_query_strings"`
}

type CacheBehaviorState

type CacheBehaviorState struct {
	Behavior string `json:"behavior"`
	Path     string `json:"path"`
}

type DefaultCacheBehavior

type DefaultCacheBehavior struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
}

type DefaultCacheBehaviorAttributes

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

func (DefaultCacheBehaviorAttributes) Behavior

func (DefaultCacheBehaviorAttributes) InternalRef

func (dcb DefaultCacheBehaviorAttributes) InternalRef() (terra.Reference, error)

func (DefaultCacheBehaviorAttributes) InternalTokens

func (dcb DefaultCacheBehaviorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultCacheBehaviorAttributes) InternalWithRef

type DefaultCacheBehaviorState

type DefaultCacheBehaviorState struct {
	Behavior string `json:"behavior"`
}

type ForwardedCookies

type ForwardedCookies struct {
	// CookiesAllowList: set of string, optional
	CookiesAllowList terra.SetValue[terra.StringValue] `hcl:"cookies_allow_list,attr"`
	// Option: string, optional
	Option terra.StringValue `hcl:"option,attr"`
}

type ForwardedCookiesAttributes

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

func (ForwardedCookiesAttributes) CookiesAllowList

func (ForwardedCookiesAttributes) InternalRef

func (fc ForwardedCookiesAttributes) InternalRef() (terra.Reference, error)

func (ForwardedCookiesAttributes) InternalTokens

func (fc ForwardedCookiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ForwardedCookiesAttributes) InternalWithRef

func (ForwardedCookiesAttributes) Option

type ForwardedCookiesState

type ForwardedCookiesState struct {
	CookiesAllowList []string `json:"cookies_allow_list"`
	Option           string   `json:"option"`
}

type ForwardedHeaders

type ForwardedHeaders struct {
	// HeadersAllowList: set of string, optional
	HeadersAllowList terra.SetValue[terra.StringValue] `hcl:"headers_allow_list,attr"`
	// Option: string, optional
	Option terra.StringValue `hcl:"option,attr"`
}

type ForwardedHeadersAttributes

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

func (ForwardedHeadersAttributes) HeadersAllowList

func (ForwardedHeadersAttributes) InternalRef

func (fh ForwardedHeadersAttributes) InternalRef() (terra.Reference, error)

func (ForwardedHeadersAttributes) InternalTokens

func (fh ForwardedHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ForwardedHeadersAttributes) InternalWithRef

func (ForwardedHeadersAttributes) Option

type ForwardedHeadersState

type ForwardedHeadersState struct {
	HeadersAllowList []string `json:"headers_allow_list"`
	Option           string   `json:"option"`
}

type ForwardedQueryStrings

type ForwardedQueryStrings struct {
	// Option: bool, optional
	Option terra.BoolValue `hcl:"option,attr"`
	// QueryStringsAllowedList: set of string, optional
	QueryStringsAllowedList terra.SetValue[terra.StringValue] `hcl:"query_strings_allowed_list,attr"`
}

type ForwardedQueryStringsAttributes

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

func (ForwardedQueryStringsAttributes) InternalRef

func (ForwardedQueryStringsAttributes) InternalTokens

func (fqs ForwardedQueryStringsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ForwardedQueryStringsAttributes) InternalWithRef

func (ForwardedQueryStringsAttributes) Option

func (ForwardedQueryStringsAttributes) QueryStringsAllowedList

func (fqs ForwardedQueryStringsAttributes) QueryStringsAllowedList() terra.SetValue[terra.StringValue]

type ForwardedQueryStringsState

type ForwardedQueryStringsState struct {
	Option                  bool     `json:"option"`
	QueryStringsAllowedList []string `json:"query_strings_allowed_list"`
}

type Location

type Location struct{}

type LocationAttributes

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

func (LocationAttributes) AvailabilityZone

func (l LocationAttributes) AvailabilityZone() terra.StringValue

func (LocationAttributes) InternalRef

func (l LocationAttributes) InternalRef() (terra.Reference, error)

func (LocationAttributes) InternalTokens

func (l LocationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LocationAttributes) InternalWithRef

func (l LocationAttributes) InternalWithRef(ref terra.Reference) LocationAttributes

func (LocationAttributes) RegionName

func (l LocationAttributes) RegionName() terra.StringValue

type LocationState

type LocationState struct {
	AvailabilityZone string `json:"availability_zone"`
	RegionName       string `json:"region_name"`
}

type Origin

type Origin struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProtocolPolicy: string, optional
	ProtocolPolicy terra.StringValue `hcl:"protocol_policy,attr"`
	// RegionName: string, required
	RegionName terra.StringValue `hcl:"region_name,attr" validate:"required"`
}

type OriginAttributes

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

func (OriginAttributes) InternalRef

func (o OriginAttributes) InternalRef() (terra.Reference, error)

func (OriginAttributes) InternalTokens

func (o OriginAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OriginAttributes) InternalWithRef

func (o OriginAttributes) InternalWithRef(ref terra.Reference) OriginAttributes

func (OriginAttributes) Name

func (OriginAttributes) ProtocolPolicy

func (o OriginAttributes) ProtocolPolicy() terra.StringValue

func (OriginAttributes) RegionName

func (o OriginAttributes) RegionName() terra.StringValue

func (OriginAttributes) ResourceType

func (o OriginAttributes) ResourceType() terra.StringValue

type OriginState

type OriginState struct {
	Name           string `json:"name"`
	ProtocolPolicy string `json:"protocol_policy"`
	RegionName     string `json:"region_name"`
	ResourceType   string `json:"resource_type"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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