datacloudfrontresponseheaderspolicy

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 AccessControlAllowHeaders

type AccessControlAllowHeaders struct{}

type AccessControlAllowHeadersAttributes

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

func (AccessControlAllowHeadersAttributes) InternalRef

func (AccessControlAllowHeadersAttributes) InternalTokens

func (acah AccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlAllowHeadersAttributes) InternalWithRef

func (AccessControlAllowHeadersAttributes) Items

type AccessControlAllowHeadersState

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

type AccessControlAllowMethods

type AccessControlAllowMethods struct{}

type AccessControlAllowMethodsAttributes

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

func (AccessControlAllowMethodsAttributes) InternalRef

func (AccessControlAllowMethodsAttributes) InternalTokens

func (acam AccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlAllowMethodsAttributes) InternalWithRef

func (AccessControlAllowMethodsAttributes) Items

type AccessControlAllowMethodsState

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

type AccessControlAllowOrigins

type AccessControlAllowOrigins struct{}

type AccessControlAllowOriginsAttributes

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

func (AccessControlAllowOriginsAttributes) InternalRef

func (AccessControlAllowOriginsAttributes) InternalTokens

func (acao AccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlAllowOriginsAttributes) InternalWithRef

func (AccessControlAllowOriginsAttributes) Items

type AccessControlAllowOriginsState

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

type AccessControlExposeHeaders

type AccessControlExposeHeaders struct{}

type AccessControlExposeHeadersAttributes

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

func (AccessControlExposeHeadersAttributes) InternalRef

func (AccessControlExposeHeadersAttributes) InternalTokens

func (aceh AccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlExposeHeadersAttributes) InternalWithRef

func (AccessControlExposeHeadersAttributes) Items

type AccessControlExposeHeadersState

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

type ContentSecurityPolicy

type ContentSecurityPolicy struct{}

type ContentSecurityPolicyAttributes

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

func (ContentSecurityPolicyAttributes) ContentSecurityPolicy

func (csp ContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue

func (ContentSecurityPolicyAttributes) InternalRef

func (ContentSecurityPolicyAttributes) InternalTokens

func (csp ContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentSecurityPolicyAttributes) InternalWithRef

func (ContentSecurityPolicyAttributes) Override

type ContentSecurityPolicyState

type ContentSecurityPolicyState struct {
	ContentSecurityPolicy string `json:"content_security_policy"`
	Override              bool   `json:"override"`
}

type ContentTypeOptions

type ContentTypeOptions struct{}

type ContentTypeOptionsAttributes

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

func (ContentTypeOptionsAttributes) InternalRef

func (cto ContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)

func (ContentTypeOptionsAttributes) InternalTokens

func (cto ContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContentTypeOptionsAttributes) InternalWithRef

func (ContentTypeOptionsAttributes) Override

type ContentTypeOptionsState

type ContentTypeOptionsState struct {
	Override bool `json:"override"`
}

type CorsConfig

type CorsConfig struct {
	// AccessControlAllowHeaders: min=0
	AccessControlAllowHeaders []AccessControlAllowHeaders `hcl:"access_control_allow_headers,block" validate:"min=0"`
	// AccessControlAllowMethods: min=0
	AccessControlAllowMethods []AccessControlAllowMethods `hcl:"access_control_allow_methods,block" validate:"min=0"`
	// AccessControlAllowOrigins: min=0
	AccessControlAllowOrigins []AccessControlAllowOrigins `hcl:"access_control_allow_origins,block" validate:"min=0"`
	// AccessControlExposeHeaders: min=0
	AccessControlExposeHeaders []AccessControlExposeHeaders `hcl:"access_control_expose_headers,block" validate:"min=0"`
}

type CorsConfigAttributes

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

func (CorsConfigAttributes) AccessControlAllowCredentials

func (cc CorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue

func (CorsConfigAttributes) AccessControlAllowHeaders

func (CorsConfigAttributes) AccessControlAllowMethods

func (CorsConfigAttributes) AccessControlAllowOrigins

func (CorsConfigAttributes) AccessControlExposeHeaders

func (CorsConfigAttributes) AccessControlMaxAgeSec

func (cc CorsConfigAttributes) AccessControlMaxAgeSec() terra.NumberValue

func (CorsConfigAttributes) InternalRef

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

func (CorsConfigAttributes) InternalTokens

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

func (CorsConfigAttributes) InternalWithRef

func (cc CorsConfigAttributes) InternalWithRef(ref terra.Reference) CorsConfigAttributes

func (CorsConfigAttributes) OriginOverride

func (cc CorsConfigAttributes) OriginOverride() terra.BoolValue

type CorsConfigState

type CorsConfigState struct {
	AccessControlAllowCredentials bool                              `json:"access_control_allow_credentials"`
	AccessControlMaxAgeSec        float64                           `json:"access_control_max_age_sec"`
	OriginOverride                bool                              `json:"origin_override"`
	AccessControlAllowHeaders     []AccessControlAllowHeadersState  `json:"access_control_allow_headers"`
	AccessControlAllowMethods     []AccessControlAllowMethodsState  `json:"access_control_allow_methods"`
	AccessControlAllowOrigins     []AccessControlAllowOriginsState  `json:"access_control_allow_origins"`
	AccessControlExposeHeaders    []AccessControlExposeHeadersState `json:"access_control_expose_headers"`
}

type CustomHeadersConfig

type CustomHeadersConfig struct {
	// CustomHeadersConfigItems: min=0
	Items []CustomHeadersConfigItems `hcl:"items,block" validate:"min=0"`
}

type CustomHeadersConfigAttributes

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

func (CustomHeadersConfigAttributes) InternalRef

func (chc CustomHeadersConfigAttributes) InternalRef() (terra.Reference, error)

func (CustomHeadersConfigAttributes) InternalTokens

func (chc CustomHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomHeadersConfigAttributes) InternalWithRef

func (CustomHeadersConfigAttributes) Items

type CustomHeadersConfigItems

type CustomHeadersConfigItems struct{}

type CustomHeadersConfigItemsAttributes

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

func (CustomHeadersConfigItemsAttributes) Header

func (CustomHeadersConfigItemsAttributes) InternalRef

func (CustomHeadersConfigItemsAttributes) InternalTokens

func (CustomHeadersConfigItemsAttributes) InternalWithRef

func (CustomHeadersConfigItemsAttributes) Override

func (CustomHeadersConfigItemsAttributes) Value

type CustomHeadersConfigItemsState

type CustomHeadersConfigItemsState struct {
	Header   string `json:"header"`
	Override bool   `json:"override"`
	Value    string `json:"value"`
}

type CustomHeadersConfigState

type CustomHeadersConfigState struct {
	Items []CustomHeadersConfigItemsState `json:"items"`
}

type FrameOptions

type FrameOptions struct{}

type FrameOptionsAttributes

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

func (FrameOptionsAttributes) FrameOption

func (fo FrameOptionsAttributes) FrameOption() terra.StringValue

func (FrameOptionsAttributes) InternalRef

func (fo FrameOptionsAttributes) InternalRef() (terra.Reference, error)

func (FrameOptionsAttributes) InternalTokens

func (fo FrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FrameOptionsAttributes) InternalWithRef

func (FrameOptionsAttributes) Override

func (fo FrameOptionsAttributes) Override() terra.BoolValue

type FrameOptionsState

type FrameOptionsState struct {
	FrameOption string `json:"frame_option"`
	Override    bool   `json:"override"`
}

type ReferrerPolicy

type ReferrerPolicy struct{}

type ReferrerPolicyAttributes

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

func (ReferrerPolicyAttributes) InternalRef

func (rp ReferrerPolicyAttributes) InternalRef() (terra.Reference, error)

func (ReferrerPolicyAttributes) InternalTokens

func (rp ReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReferrerPolicyAttributes) InternalWithRef

func (ReferrerPolicyAttributes) Override

func (ReferrerPolicyAttributes) ReferrerPolicy

func (rp ReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue

type ReferrerPolicyState

type ReferrerPolicyState struct {
	Override       bool   `json:"override"`
	ReferrerPolicy string `json:"referrer_policy"`
}

type RemoveHeadersConfig

type RemoveHeadersConfig struct {
	// RemoveHeadersConfigItems: min=0
	Items []RemoveHeadersConfigItems `hcl:"items,block" validate:"min=0"`
}

type RemoveHeadersConfigAttributes

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

func (RemoveHeadersConfigAttributes) InternalRef

func (rhc RemoveHeadersConfigAttributes) InternalRef() (terra.Reference, error)

func (RemoveHeadersConfigAttributes) InternalTokens

func (rhc RemoveHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RemoveHeadersConfigAttributes) InternalWithRef

func (RemoveHeadersConfigAttributes) Items

type RemoveHeadersConfigItems

type RemoveHeadersConfigItems struct{}

type RemoveHeadersConfigItemsAttributes

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

func (RemoveHeadersConfigItemsAttributes) Header

func (RemoveHeadersConfigItemsAttributes) InternalRef

func (RemoveHeadersConfigItemsAttributes) InternalTokens

func (RemoveHeadersConfigItemsAttributes) InternalWithRef

type RemoveHeadersConfigItemsState

type RemoveHeadersConfigItemsState struct {
	Header string `json:"header"`
}

type RemoveHeadersConfigState

type RemoveHeadersConfigState struct {
	Items []RemoveHeadersConfigItemsState `json:"items"`
}

type SecurityHeadersConfig

type SecurityHeadersConfig struct {
	// ContentSecurityPolicy: min=0
	ContentSecurityPolicy []ContentSecurityPolicy `hcl:"content_security_policy,block" validate:"min=0"`
	// ContentTypeOptions: min=0
	ContentTypeOptions []ContentTypeOptions `hcl:"content_type_options,block" validate:"min=0"`
	// FrameOptions: min=0
	FrameOptions []FrameOptions `hcl:"frame_options,block" validate:"min=0"`
	// ReferrerPolicy: min=0
	ReferrerPolicy []ReferrerPolicy `hcl:"referrer_policy,block" validate:"min=0"`
	// StrictTransportSecurity: min=0
	StrictTransportSecurity []StrictTransportSecurity `hcl:"strict_transport_security,block" validate:"min=0"`
	// XssProtection: min=0
	XssProtection []XssProtection `hcl:"xss_protection,block" validate:"min=0"`
}

type SecurityHeadersConfigAttributes

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

func (SecurityHeadersConfigAttributes) ContentSecurityPolicy

func (SecurityHeadersConfigAttributes) ContentTypeOptions

func (SecurityHeadersConfigAttributes) FrameOptions

func (SecurityHeadersConfigAttributes) InternalRef

func (SecurityHeadersConfigAttributes) InternalTokens

func (shc SecurityHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecurityHeadersConfigAttributes) InternalWithRef

func (SecurityHeadersConfigAttributes) ReferrerPolicy

func (SecurityHeadersConfigAttributes) StrictTransportSecurity

func (SecurityHeadersConfigAttributes) XssProtection

type SecurityHeadersConfigState

type SecurityHeadersConfigState struct {
	ContentSecurityPolicy   []ContentSecurityPolicyState   `json:"content_security_policy"`
	ContentTypeOptions      []ContentTypeOptionsState      `json:"content_type_options"`
	FrameOptions            []FrameOptionsState            `json:"frame_options"`
	ReferrerPolicy          []ReferrerPolicyState          `json:"referrer_policy"`
	StrictTransportSecurity []StrictTransportSecurityState `json:"strict_transport_security"`
	XssProtection           []XssProtectionState           `json:"xss_protection"`
}

type ServerTimingHeadersConfig

type ServerTimingHeadersConfig struct{}

type ServerTimingHeadersConfigAttributes

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

func (ServerTimingHeadersConfigAttributes) Enabled

func (ServerTimingHeadersConfigAttributes) InternalRef

func (ServerTimingHeadersConfigAttributes) InternalTokens

func (sthc ServerTimingHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServerTimingHeadersConfigAttributes) InternalWithRef

func (ServerTimingHeadersConfigAttributes) SamplingRate

type ServerTimingHeadersConfigState

type ServerTimingHeadersConfigState struct {
	Enabled      bool    `json:"enabled"`
	SamplingRate float64 `json:"sampling_rate"`
}

type StrictTransportSecurity

type StrictTransportSecurity struct{}

type StrictTransportSecurityAttributes

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

func (StrictTransportSecurityAttributes) AccessControlMaxAgeSec

func (sts StrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue

func (StrictTransportSecurityAttributes) IncludeSubdomains

func (sts StrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue

func (StrictTransportSecurityAttributes) InternalRef

func (StrictTransportSecurityAttributes) InternalTokens

func (sts StrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StrictTransportSecurityAttributes) InternalWithRef

func (StrictTransportSecurityAttributes) Override

func (StrictTransportSecurityAttributes) Preload

type StrictTransportSecurityState

type StrictTransportSecurityState struct {
	AccessControlMaxAgeSec float64 `json:"access_control_max_age_sec"`
	IncludeSubdomains      bool    `json:"include_subdomains"`
	Override               bool    `json:"override"`
	Preload                bool    `json:"preload"`
}

type XssProtection

type XssProtection struct{}

type XssProtectionAttributes

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

func (XssProtectionAttributes) InternalRef

func (xp XssProtectionAttributes) InternalRef() (terra.Reference, error)

func (XssProtectionAttributes) InternalTokens

func (xp XssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (XssProtectionAttributes) InternalWithRef

func (XssProtectionAttributes) ModeBlock

func (xp XssProtectionAttributes) ModeBlock() terra.BoolValue

func (XssProtectionAttributes) Override

func (xp XssProtectionAttributes) Override() terra.BoolValue

func (XssProtectionAttributes) Protection

func (xp XssProtectionAttributes) Protection() terra.BoolValue

func (XssProtectionAttributes) ReportUri

func (xp XssProtectionAttributes) ReportUri() terra.StringValue

type XssProtectionState

type XssProtectionState struct {
	ModeBlock  bool   `json:"mode_block"`
	Override   bool   `json:"override"`
	Protection bool   `json:"protection"`
	ReportUri  string `json:"report_uri"`
}

Jump to

Keyboard shortcuts

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