Documentation
¶
Index ¶
- type Args
- type CorsConfig
- type CorsConfigAccessControlAllowHeaders
- type CorsConfigAccessControlAllowHeadersAttributes
- func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
- func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowHeadersAttributes
- func (acah CorsConfigAccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type CorsConfigAccessControlAllowHeadersState
- type CorsConfigAccessControlAllowMethods
- type CorsConfigAccessControlAllowMethodsAttributes
- func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
- func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowMethodsAttributes
- func (acam CorsConfigAccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
- type CorsConfigAccessControlAllowMethodsState
- type CorsConfigAccessControlAllowOrigins
- type CorsConfigAccessControlAllowOriginsAttributes
- func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
- func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowOriginsAttributes
- func (acao CorsConfigAccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
- type CorsConfigAccessControlAllowOriginsState
- type CorsConfigAccessControlExposeHeaders
- type CorsConfigAccessControlExposeHeadersAttributes
- func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
- func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlExposeHeadersAttributes
- func (aceh CorsConfigAccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type CorsConfigAccessControlExposeHeadersState
- type CorsConfigAttributes
- func (cc CorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue
- func (cc CorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[CorsConfigAccessControlAllowHeadersAttributes]
- func (cc CorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[CorsConfigAccessControlAllowMethodsAttributes]
- func (cc CorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[CorsConfigAccessControlAllowOriginsAttributes]
- func (cc CorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[CorsConfigAccessControlExposeHeadersAttributes]
- func (cc CorsConfigAttributes) AccessControlMaxAgeSec() terra.NumberValue
- func (cc CorsConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc CorsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CorsConfigAttributes) InternalWithRef(ref terra.Reference) CorsConfigAttributes
- func (cc CorsConfigAttributes) OriginOverride() terra.BoolValue
- type CorsConfigState
- type CustomHeadersConfig
- type CustomHeadersConfigAttributes
- func (chc CustomHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (chc CustomHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (chc CustomHeadersConfigAttributes) InternalWithRef(ref terra.Reference) CustomHeadersConfigAttributes
- func (chc CustomHeadersConfigAttributes) Items() terra.SetValue[CustomHeadersConfigItemsAttributes]
- type CustomHeadersConfigItems
- type CustomHeadersConfigItemsAttributes
- func (i CustomHeadersConfigItemsAttributes) Header() terra.StringValue
- func (i CustomHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
- func (i CustomHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i CustomHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) CustomHeadersConfigItemsAttributes
- func (i CustomHeadersConfigItemsAttributes) Override() terra.BoolValue
- func (i CustomHeadersConfigItemsAttributes) Value() terra.StringValue
- type CustomHeadersConfigItemsState
- type CustomHeadersConfigState
- type DataArgs
- type DataCorsConfigAccessControlAllowHeadersAttributes
- func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
- func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowHeadersAttributes
- func (acah DataCorsConfigAccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type DataCorsConfigAccessControlAllowHeadersState
- type DataCorsConfigAccessControlAllowMethodsAttributes
- func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
- func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowMethodsAttributes
- func (acam DataCorsConfigAccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
- type DataCorsConfigAccessControlAllowMethodsState
- type DataCorsConfigAccessControlAllowOriginsAttributes
- func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
- func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowOriginsAttributes
- func (acao DataCorsConfigAccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
- type DataCorsConfigAccessControlAllowOriginsState
- type DataCorsConfigAccessControlExposeHeadersAttributes
- func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
- func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlExposeHeadersAttributes
- func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type DataCorsConfigAccessControlExposeHeadersState
- type DataCorsConfigAttributes
- func (cc DataCorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue
- func (cc DataCorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[DataCorsConfigAccessControlAllowHeadersAttributes]
- func (cc DataCorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[DataCorsConfigAccessControlAllowMethodsAttributes]
- func (cc DataCorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[DataCorsConfigAccessControlAllowOriginsAttributes]
- func (cc DataCorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[DataCorsConfigAccessControlExposeHeadersAttributes]
- func (cc DataCorsConfigAttributes) AccessControlMaxAgeSec() terra.NumberValue
- func (cc DataCorsConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc DataCorsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc DataCorsConfigAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAttributes
- func (cc DataCorsConfigAttributes) OriginOverride() terra.BoolValue
- type DataCorsConfigState
- type DataCustomHeadersConfigAttributes
- func (chc DataCustomHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (chc DataCustomHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (chc DataCustomHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataCustomHeadersConfigAttributes
- func (chc DataCustomHeadersConfigAttributes) Items() terra.SetValue[DataCustomHeadersConfigItemsAttributes]
- type DataCustomHeadersConfigItemsAttributes
- func (i DataCustomHeadersConfigItemsAttributes) Header() terra.StringValue
- func (i DataCustomHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
- func (i DataCustomHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i DataCustomHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) DataCustomHeadersConfigItemsAttributes
- func (i DataCustomHeadersConfigItemsAttributes) Override() terra.BoolValue
- func (i DataCustomHeadersConfigItemsAttributes) Value() terra.StringValue
- type DataCustomHeadersConfigItemsState
- type DataCustomHeadersConfigState
- type DataRemoveHeadersConfigAttributes
- func (rhc DataRemoveHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (rhc DataRemoveHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rhc DataRemoveHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataRemoveHeadersConfigAttributes
- func (rhc DataRemoveHeadersConfigAttributes) Items() terra.SetValue[DataRemoveHeadersConfigItemsAttributes]
- type DataRemoveHeadersConfigItemsAttributes
- func (i DataRemoveHeadersConfigItemsAttributes) Header() terra.StringValue
- func (i DataRemoveHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
- func (i DataRemoveHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i DataRemoveHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) DataRemoveHeadersConfigItemsAttributes
- type DataRemoveHeadersConfigItemsState
- type DataRemoveHeadersConfigState
- type DataSecurityHeadersConfigAttributes
- func (shc DataSecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[DataSecurityHeadersConfigContentSecurityPolicyAttributes]
- func (shc DataSecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[DataSecurityHeadersConfigContentTypeOptionsAttributes]
- func (shc DataSecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[DataSecurityHeadersConfigFrameOptionsAttributes]
- func (shc DataSecurityHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (shc DataSecurityHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (shc DataSecurityHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigAttributes
- func (shc DataSecurityHeadersConfigAttributes) ReferrerPolicy() terra.ListValue[DataSecurityHeadersConfigReferrerPolicyAttributes]
- func (shc DataSecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[DataSecurityHeadersConfigStrictTransportSecurityAttributes]
- func (shc DataSecurityHeadersConfigAttributes) XssProtection() terra.ListValue[DataSecurityHeadersConfigXssProtectionAttributes]
- type DataSecurityHeadersConfigContentSecurityPolicyAttributes
- func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue
- func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
- func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigContentSecurityPolicyAttributes
- func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) Override() terra.BoolValue
- type DataSecurityHeadersConfigContentSecurityPolicyState
- type DataSecurityHeadersConfigContentTypeOptionsAttributes
- func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)
- func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigContentTypeOptionsAttributes
- func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) Override() terra.BoolValue
- type DataSecurityHeadersConfigContentTypeOptionsState
- type DataSecurityHeadersConfigFrameOptionsAttributes
- func (fo DataSecurityHeadersConfigFrameOptionsAttributes) FrameOption() terra.StringValue
- func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalRef() (terra.Reference, error)
- func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigFrameOptionsAttributes
- func (fo DataSecurityHeadersConfigFrameOptionsAttributes) Override() terra.BoolValue
- type DataSecurityHeadersConfigFrameOptionsState
- type DataSecurityHeadersConfigReferrerPolicyAttributes
- func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigReferrerPolicyAttributes
- func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) Override() terra.BoolValue
- func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
- type DataSecurityHeadersConfigReferrerPolicyState
- type DataSecurityHeadersConfigState
- type DataSecurityHeadersConfigStrictTransportSecurityAttributes
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigStrictTransportSecurityAttributes
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) Override() terra.BoolValue
- func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) Preload() terra.BoolValue
- type DataSecurityHeadersConfigStrictTransportSecurityState
- type DataSecurityHeadersConfigXssProtectionAttributes
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalRef() (terra.Reference, error)
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigXssProtectionAttributes
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) ModeBlock() terra.BoolValue
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) Override() terra.BoolValue
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) Protection() terra.BoolValue
- func (xp DataSecurityHeadersConfigXssProtectionAttributes) ReportUri() terra.StringValue
- type DataSecurityHeadersConfigXssProtectionState
- type DataServerTimingHeadersConfigAttributes
- func (sthc DataServerTimingHeadersConfigAttributes) Enabled() terra.BoolValue
- func (sthc DataServerTimingHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (sthc DataServerTimingHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sthc DataServerTimingHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataServerTimingHeadersConfigAttributes
- func (sthc DataServerTimingHeadersConfigAttributes) SamplingRate() terra.NumberValue
- type DataServerTimingHeadersConfigState
- type DataSource
- type RemoveHeadersConfig
- type RemoveHeadersConfigAttributes
- func (rhc RemoveHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (rhc RemoveHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rhc RemoveHeadersConfigAttributes) InternalWithRef(ref terra.Reference) RemoveHeadersConfigAttributes
- func (rhc RemoveHeadersConfigAttributes) Items() terra.SetValue[RemoveHeadersConfigItemsAttributes]
- type RemoveHeadersConfigItems
- type RemoveHeadersConfigItemsAttributes
- func (i RemoveHeadersConfigItemsAttributes) Header() terra.StringValue
- func (i RemoveHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
- func (i RemoveHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i RemoveHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) RemoveHeadersConfigItemsAttributes
- type RemoveHeadersConfigItemsState
- type RemoveHeadersConfigState
- type Resource
- func (acrhp *Resource) Attributes() awsCloudfrontResponseHeadersPolicyAttributes
- func (acrhp *Resource) Configuration() interface{}
- func (acrhp *Resource) DependOn() terra.Reference
- func (acrhp *Resource) Dependencies() terra.Dependencies
- func (acrhp *Resource) ImportState(state io.Reader) error
- func (acrhp *Resource) LifecycleManagement() *terra.Lifecycle
- func (acrhp *Resource) LocalName() string
- func (acrhp *Resource) State() (*awsCloudfrontResponseHeadersPolicyState, bool)
- func (acrhp *Resource) StateMust() *awsCloudfrontResponseHeadersPolicyState
- func (acrhp *Resource) Type() string
- type SecurityHeadersConfig
- type SecurityHeadersConfigAttributes
- func (shc SecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[SecurityHeadersConfigContentSecurityPolicyAttributes]
- func (shc SecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[SecurityHeadersConfigContentTypeOptionsAttributes]
- func (shc SecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[SecurityHeadersConfigFrameOptionsAttributes]
- func (shc SecurityHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (shc SecurityHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (shc SecurityHeadersConfigAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigAttributes
- func (shc SecurityHeadersConfigAttributes) ReferrerPolicy() terra.ListValue[SecurityHeadersConfigReferrerPolicyAttributes]
- func (shc SecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[SecurityHeadersConfigStrictTransportSecurityAttributes]
- func (shc SecurityHeadersConfigAttributes) XssProtection() terra.ListValue[SecurityHeadersConfigXssProtectionAttributes]
- type SecurityHeadersConfigContentSecurityPolicy
- type SecurityHeadersConfigContentSecurityPolicyAttributes
- func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue
- func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
- func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigContentSecurityPolicyAttributes
- func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) Override() terra.BoolValue
- type SecurityHeadersConfigContentSecurityPolicyState
- type SecurityHeadersConfigContentTypeOptions
- type SecurityHeadersConfigContentTypeOptionsAttributes
- func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)
- func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigContentTypeOptionsAttributes
- func (cto SecurityHeadersConfigContentTypeOptionsAttributes) Override() terra.BoolValue
- type SecurityHeadersConfigContentTypeOptionsState
- type SecurityHeadersConfigFrameOptions
- type SecurityHeadersConfigFrameOptionsAttributes
- func (fo SecurityHeadersConfigFrameOptionsAttributes) FrameOption() terra.StringValue
- func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalRef() (terra.Reference, error)
- func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigFrameOptionsAttributes
- func (fo SecurityHeadersConfigFrameOptionsAttributes) Override() terra.BoolValue
- type SecurityHeadersConfigFrameOptionsState
- type SecurityHeadersConfigReferrerPolicy
- type SecurityHeadersConfigReferrerPolicyAttributes
- func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigReferrerPolicyAttributes
- func (rp SecurityHeadersConfigReferrerPolicyAttributes) Override() terra.BoolValue
- func (rp SecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
- type SecurityHeadersConfigReferrerPolicyState
- type SecurityHeadersConfigState
- type SecurityHeadersConfigStrictTransportSecurity
- type SecurityHeadersConfigStrictTransportSecurityAttributes
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigStrictTransportSecurityAttributes
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) Override() terra.BoolValue
- func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) Preload() terra.BoolValue
- type SecurityHeadersConfigStrictTransportSecurityState
- type SecurityHeadersConfigXssProtection
- type SecurityHeadersConfigXssProtectionAttributes
- func (xp SecurityHeadersConfigXssProtectionAttributes) InternalRef() (terra.Reference, error)
- func (xp SecurityHeadersConfigXssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (xp SecurityHeadersConfigXssProtectionAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigXssProtectionAttributes
- func (xp SecurityHeadersConfigXssProtectionAttributes) ModeBlock() terra.BoolValue
- func (xp SecurityHeadersConfigXssProtectionAttributes) Override() terra.BoolValue
- func (xp SecurityHeadersConfigXssProtectionAttributes) Protection() terra.BoolValue
- func (xp SecurityHeadersConfigXssProtectionAttributes) ReportUri() terra.StringValue
- type SecurityHeadersConfigXssProtectionState
- type ServerTimingHeadersConfig
- type ServerTimingHeadersConfigAttributes
- func (sthc ServerTimingHeadersConfigAttributes) Enabled() terra.BoolValue
- func (sthc ServerTimingHeadersConfigAttributes) InternalRef() (terra.Reference, error)
- func (sthc ServerTimingHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sthc ServerTimingHeadersConfigAttributes) InternalWithRef(ref terra.Reference) ServerTimingHeadersConfigAttributes
- func (sthc ServerTimingHeadersConfigAttributes) SamplingRate() terra.NumberValue
- type ServerTimingHeadersConfigState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Comment: string, optional Comment terra.StringValue `hcl:"comment,attr"` // Etag: string, optional Etag terra.StringValue `hcl:"etag,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // CorsConfig: optional CorsConfig *CorsConfig `hcl:"cors_config,block"` // CustomHeadersConfig: optional CustomHeadersConfig *CustomHeadersConfig `hcl:"custom_headers_config,block"` // RemoveHeadersConfig: optional RemoveHeadersConfig *RemoveHeadersConfig `hcl:"remove_headers_config,block"` // SecurityHeadersConfig: optional SecurityHeadersConfig *SecurityHeadersConfig `hcl:"security_headers_config,block"` // ServerTimingHeadersConfig: optional ServerTimingHeadersConfig *ServerTimingHeadersConfig `hcl:"server_timing_headers_config,block"` }
Args contains the configurations for aws_cloudfront_response_headers_policy.
type CorsConfig ¶
type CorsConfig struct { // AccessControlAllowCredentials: bool, required AccessControlAllowCredentials terra.BoolValue `hcl:"access_control_allow_credentials,attr" validate:"required"` // AccessControlMaxAgeSec: number, optional AccessControlMaxAgeSec terra.NumberValue `hcl:"access_control_max_age_sec,attr"` // OriginOverride: bool, required OriginOverride terra.BoolValue `hcl:"origin_override,attr" validate:"required"` // CorsConfigAccessControlAllowHeaders: required AccessControlAllowHeaders *CorsConfigAccessControlAllowHeaders `hcl:"access_control_allow_headers,block" validate:"required"` // CorsConfigAccessControlAllowMethods: required AccessControlAllowMethods *CorsConfigAccessControlAllowMethods `hcl:"access_control_allow_methods,block" validate:"required"` // CorsConfigAccessControlAllowOrigins: required AccessControlAllowOrigins *CorsConfigAccessControlAllowOrigins `hcl:"access_control_allow_origins,block" validate:"required"` // CorsConfigAccessControlExposeHeaders: optional AccessControlExposeHeaders *CorsConfigAccessControlExposeHeaders `hcl:"access_control_expose_headers,block"` }
type CorsConfigAccessControlAllowHeaders ¶
type CorsConfigAccessControlAllowHeaders struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type CorsConfigAccessControlAllowHeadersAttributes ¶
type CorsConfigAccessControlAllowHeadersAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigAccessControlAllowHeadersAttributes) InternalRef ¶
func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
func (CorsConfigAccessControlAllowHeadersAttributes) InternalTokens ¶
func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsConfigAccessControlAllowHeadersAttributes) InternalWithRef ¶
func (acah CorsConfigAccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowHeadersAttributes
func (CorsConfigAccessControlAllowHeadersAttributes) Items ¶
func (acah CorsConfigAccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type CorsConfigAccessControlAllowHeadersState ¶
type CorsConfigAccessControlAllowHeadersState struct {
Items []string `json:"items"`
}
type CorsConfigAccessControlAllowMethods ¶
type CorsConfigAccessControlAllowMethods struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type CorsConfigAccessControlAllowMethodsAttributes ¶
type CorsConfigAccessControlAllowMethodsAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigAccessControlAllowMethodsAttributes) InternalRef ¶
func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
func (CorsConfigAccessControlAllowMethodsAttributes) InternalTokens ¶
func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsConfigAccessControlAllowMethodsAttributes) InternalWithRef ¶
func (acam CorsConfigAccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowMethodsAttributes
func (CorsConfigAccessControlAllowMethodsAttributes) Items ¶
func (acam CorsConfigAccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
type CorsConfigAccessControlAllowMethodsState ¶
type CorsConfigAccessControlAllowMethodsState struct {
Items []string `json:"items"`
}
type CorsConfigAccessControlAllowOrigins ¶
type CorsConfigAccessControlAllowOrigins struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type CorsConfigAccessControlAllowOriginsAttributes ¶
type CorsConfigAccessControlAllowOriginsAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigAccessControlAllowOriginsAttributes) InternalRef ¶
func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
func (CorsConfigAccessControlAllowOriginsAttributes) InternalTokens ¶
func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsConfigAccessControlAllowOriginsAttributes) InternalWithRef ¶
func (acao CorsConfigAccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlAllowOriginsAttributes
func (CorsConfigAccessControlAllowOriginsAttributes) Items ¶
func (acao CorsConfigAccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
type CorsConfigAccessControlAllowOriginsState ¶
type CorsConfigAccessControlAllowOriginsState struct {
Items []string `json:"items"`
}
type CorsConfigAccessControlExposeHeaders ¶
type CorsConfigAccessControlExposeHeaders struct { // Items: set of string, optional Items terra.SetValue[terra.StringValue] `hcl:"items,attr"` }
type CorsConfigAccessControlExposeHeadersAttributes ¶
type CorsConfigAccessControlExposeHeadersAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigAccessControlExposeHeadersAttributes) InternalRef ¶
func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
func (CorsConfigAccessControlExposeHeadersAttributes) InternalTokens ¶
func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsConfigAccessControlExposeHeadersAttributes) InternalWithRef ¶
func (aceh CorsConfigAccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) CorsConfigAccessControlExposeHeadersAttributes
func (CorsConfigAccessControlExposeHeadersAttributes) Items ¶
func (aceh CorsConfigAccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type CorsConfigAccessControlExposeHeadersState ¶
type CorsConfigAccessControlExposeHeadersState struct {
Items []string `json:"items"`
}
type CorsConfigAttributes ¶
type CorsConfigAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigAttributes) AccessControlAllowCredentials ¶
func (cc CorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue
func (CorsConfigAttributes) AccessControlAllowHeaders ¶
func (cc CorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[CorsConfigAccessControlAllowHeadersAttributes]
func (CorsConfigAttributes) AccessControlAllowMethods ¶
func (cc CorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[CorsConfigAccessControlAllowMethodsAttributes]
func (CorsConfigAttributes) AccessControlAllowOrigins ¶
func (cc CorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[CorsConfigAccessControlAllowOriginsAttributes]
func (CorsConfigAttributes) AccessControlExposeHeaders ¶
func (cc CorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[CorsConfigAccessControlExposeHeadersAttributes]
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 []CorsConfigAccessControlAllowHeadersState `json:"access_control_allow_headers"` AccessControlAllowMethods []CorsConfigAccessControlAllowMethodsState `json:"access_control_allow_methods"` AccessControlAllowOrigins []CorsConfigAccessControlAllowOriginsState `json:"access_control_allow_origins"` AccessControlExposeHeaders []CorsConfigAccessControlExposeHeadersState `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 (chc CustomHeadersConfigAttributes) InternalWithRef(ref terra.Reference) CustomHeadersConfigAttributes
func (CustomHeadersConfigAttributes) Items ¶
func (chc CustomHeadersConfigAttributes) Items() terra.SetValue[CustomHeadersConfigItemsAttributes]
type CustomHeadersConfigItems ¶
type CustomHeadersConfigItems struct { // Header: string, required Header terra.StringValue `hcl:"header,attr" validate:"required"` // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type CustomHeadersConfigItemsAttributes ¶
type CustomHeadersConfigItemsAttributes struct {
// contains filtered or unexported fields
}
func (CustomHeadersConfigItemsAttributes) Header ¶
func (i CustomHeadersConfigItemsAttributes) Header() terra.StringValue
func (CustomHeadersConfigItemsAttributes) InternalRef ¶
func (i CustomHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
func (CustomHeadersConfigItemsAttributes) InternalTokens ¶
func (i CustomHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomHeadersConfigItemsAttributes) InternalWithRef ¶
func (i CustomHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) CustomHeadersConfigItemsAttributes
func (CustomHeadersConfigItemsAttributes) Override ¶
func (i CustomHeadersConfigItemsAttributes) Override() terra.BoolValue
func (CustomHeadersConfigItemsAttributes) Value ¶
func (i CustomHeadersConfigItemsAttributes) Value() terra.StringValue
type CustomHeadersConfigState ¶
type CustomHeadersConfigState struct {
Items []CustomHeadersConfigItemsState `json:"items"`
}
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` }
DataArgs contains the configurations for aws_cloudfront_response_headers_policy.
type DataCorsConfigAccessControlAllowHeadersAttributes ¶
type DataCorsConfigAccessControlAllowHeadersAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsConfigAccessControlAllowHeadersAttributes) InternalRef ¶
func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
func (DataCorsConfigAccessControlAllowHeadersAttributes) InternalTokens ¶
func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsConfigAccessControlAllowHeadersAttributes) InternalWithRef ¶
func (acah DataCorsConfigAccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowHeadersAttributes
func (DataCorsConfigAccessControlAllowHeadersAttributes) Items ¶
func (acah DataCorsConfigAccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type DataCorsConfigAccessControlAllowHeadersState ¶
type DataCorsConfigAccessControlAllowHeadersState struct {
Items []string `json:"items"`
}
type DataCorsConfigAccessControlAllowMethodsAttributes ¶
type DataCorsConfigAccessControlAllowMethodsAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsConfigAccessControlAllowMethodsAttributes) InternalRef ¶
func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
func (DataCorsConfigAccessControlAllowMethodsAttributes) InternalTokens ¶
func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsConfigAccessControlAllowMethodsAttributes) InternalWithRef ¶
func (acam DataCorsConfigAccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowMethodsAttributes
func (DataCorsConfigAccessControlAllowMethodsAttributes) Items ¶
func (acam DataCorsConfigAccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
type DataCorsConfigAccessControlAllowMethodsState ¶
type DataCorsConfigAccessControlAllowMethodsState struct {
Items []string `json:"items"`
}
type DataCorsConfigAccessControlAllowOriginsAttributes ¶
type DataCorsConfigAccessControlAllowOriginsAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsConfigAccessControlAllowOriginsAttributes) InternalRef ¶
func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
func (DataCorsConfigAccessControlAllowOriginsAttributes) InternalTokens ¶
func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsConfigAccessControlAllowOriginsAttributes) InternalWithRef ¶
func (acao DataCorsConfigAccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlAllowOriginsAttributes
func (DataCorsConfigAccessControlAllowOriginsAttributes) Items ¶
func (acao DataCorsConfigAccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
type DataCorsConfigAccessControlAllowOriginsState ¶
type DataCorsConfigAccessControlAllowOriginsState struct {
Items []string `json:"items"`
}
type DataCorsConfigAccessControlExposeHeadersAttributes ¶
type DataCorsConfigAccessControlExposeHeadersAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsConfigAccessControlExposeHeadersAttributes) InternalRef ¶
func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
func (DataCorsConfigAccessControlExposeHeadersAttributes) InternalTokens ¶
func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsConfigAccessControlExposeHeadersAttributes) InternalWithRef ¶
func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAccessControlExposeHeadersAttributes
func (DataCorsConfigAccessControlExposeHeadersAttributes) Items ¶
func (aceh DataCorsConfigAccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
type DataCorsConfigAccessControlExposeHeadersState ¶
type DataCorsConfigAccessControlExposeHeadersState struct {
Items []string `json:"items"`
}
type DataCorsConfigAttributes ¶
type DataCorsConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataCorsConfigAttributes) AccessControlAllowCredentials ¶
func (cc DataCorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue
func (DataCorsConfigAttributes) AccessControlAllowHeaders ¶
func (cc DataCorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[DataCorsConfigAccessControlAllowHeadersAttributes]
func (DataCorsConfigAttributes) AccessControlAllowMethods ¶
func (cc DataCorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[DataCorsConfigAccessControlAllowMethodsAttributes]
func (DataCorsConfigAttributes) AccessControlAllowOrigins ¶
func (cc DataCorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[DataCorsConfigAccessControlAllowOriginsAttributes]
func (DataCorsConfigAttributes) AccessControlExposeHeaders ¶
func (cc DataCorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[DataCorsConfigAccessControlExposeHeadersAttributes]
func (DataCorsConfigAttributes) AccessControlMaxAgeSec ¶
func (cc DataCorsConfigAttributes) AccessControlMaxAgeSec() terra.NumberValue
func (DataCorsConfigAttributes) InternalRef ¶
func (cc DataCorsConfigAttributes) InternalRef() (terra.Reference, error)
func (DataCorsConfigAttributes) InternalTokens ¶
func (cc DataCorsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCorsConfigAttributes) InternalWithRef ¶
func (cc DataCorsConfigAttributes) InternalWithRef(ref terra.Reference) DataCorsConfigAttributes
func (DataCorsConfigAttributes) OriginOverride ¶
func (cc DataCorsConfigAttributes) OriginOverride() terra.BoolValue
type DataCorsConfigState ¶
type DataCorsConfigState struct { AccessControlAllowCredentials bool `json:"access_control_allow_credentials"` AccessControlMaxAgeSec float64 `json:"access_control_max_age_sec"` OriginOverride bool `json:"origin_override"` AccessControlAllowHeaders []DataCorsConfigAccessControlAllowHeadersState `json:"access_control_allow_headers"` AccessControlAllowMethods []DataCorsConfigAccessControlAllowMethodsState `json:"access_control_allow_methods"` AccessControlAllowOrigins []DataCorsConfigAccessControlAllowOriginsState `json:"access_control_allow_origins"` AccessControlExposeHeaders []DataCorsConfigAccessControlExposeHeadersState `json:"access_control_expose_headers"` }
type DataCustomHeadersConfigAttributes ¶
type DataCustomHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataCustomHeadersConfigAttributes) InternalRef ¶
func (chc DataCustomHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (DataCustomHeadersConfigAttributes) InternalTokens ¶
func (chc DataCustomHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCustomHeadersConfigAttributes) InternalWithRef ¶
func (chc DataCustomHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataCustomHeadersConfigAttributes
func (DataCustomHeadersConfigAttributes) Items ¶
func (chc DataCustomHeadersConfigAttributes) Items() terra.SetValue[DataCustomHeadersConfigItemsAttributes]
type DataCustomHeadersConfigItemsAttributes ¶
type DataCustomHeadersConfigItemsAttributes struct {
// contains filtered or unexported fields
}
func (DataCustomHeadersConfigItemsAttributes) Header ¶
func (i DataCustomHeadersConfigItemsAttributes) Header() terra.StringValue
func (DataCustomHeadersConfigItemsAttributes) InternalRef ¶
func (i DataCustomHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
func (DataCustomHeadersConfigItemsAttributes) InternalTokens ¶
func (i DataCustomHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCustomHeadersConfigItemsAttributes) InternalWithRef ¶
func (i DataCustomHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) DataCustomHeadersConfigItemsAttributes
func (DataCustomHeadersConfigItemsAttributes) Override ¶
func (i DataCustomHeadersConfigItemsAttributes) Override() terra.BoolValue
func (DataCustomHeadersConfigItemsAttributes) Value ¶
func (i DataCustomHeadersConfigItemsAttributes) Value() terra.StringValue
type DataCustomHeadersConfigState ¶
type DataCustomHeadersConfigState struct {
Items []DataCustomHeadersConfigItemsState `json:"items"`
}
type DataRemoveHeadersConfigAttributes ¶
type DataRemoveHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataRemoveHeadersConfigAttributes) InternalRef ¶
func (rhc DataRemoveHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (DataRemoveHeadersConfigAttributes) InternalTokens ¶
func (rhc DataRemoveHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRemoveHeadersConfigAttributes) InternalWithRef ¶
func (rhc DataRemoveHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataRemoveHeadersConfigAttributes
func (DataRemoveHeadersConfigAttributes) Items ¶
func (rhc DataRemoveHeadersConfigAttributes) Items() terra.SetValue[DataRemoveHeadersConfigItemsAttributes]
type DataRemoveHeadersConfigItemsAttributes ¶
type DataRemoveHeadersConfigItemsAttributes struct {
// contains filtered or unexported fields
}
func (DataRemoveHeadersConfigItemsAttributes) Header ¶
func (i DataRemoveHeadersConfigItemsAttributes) Header() terra.StringValue
func (DataRemoveHeadersConfigItemsAttributes) InternalRef ¶
func (i DataRemoveHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
func (DataRemoveHeadersConfigItemsAttributes) InternalTokens ¶
func (i DataRemoveHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRemoveHeadersConfigItemsAttributes) InternalWithRef ¶
func (i DataRemoveHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) DataRemoveHeadersConfigItemsAttributes
type DataRemoveHeadersConfigItemsState ¶
type DataRemoveHeadersConfigItemsState struct {
Header string `json:"header"`
}
type DataRemoveHeadersConfigState ¶
type DataRemoveHeadersConfigState struct {
Items []DataRemoveHeadersConfigItemsState `json:"items"`
}
type DataSecurityHeadersConfigAttributes ¶
type DataSecurityHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigAttributes) ContentSecurityPolicy ¶
func (shc DataSecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[DataSecurityHeadersConfigContentSecurityPolicyAttributes]
func (DataSecurityHeadersConfigAttributes) ContentTypeOptions ¶
func (shc DataSecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[DataSecurityHeadersConfigContentTypeOptionsAttributes]
func (DataSecurityHeadersConfigAttributes) FrameOptions ¶
func (shc DataSecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[DataSecurityHeadersConfigFrameOptionsAttributes]
func (DataSecurityHeadersConfigAttributes) InternalRef ¶
func (shc DataSecurityHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigAttributes) InternalTokens ¶
func (shc DataSecurityHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigAttributes) InternalWithRef ¶
func (shc DataSecurityHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigAttributes
func (DataSecurityHeadersConfigAttributes) ReferrerPolicy ¶
func (shc DataSecurityHeadersConfigAttributes) ReferrerPolicy() terra.ListValue[DataSecurityHeadersConfigReferrerPolicyAttributes]
func (DataSecurityHeadersConfigAttributes) StrictTransportSecurity ¶
func (shc DataSecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[DataSecurityHeadersConfigStrictTransportSecurityAttributes]
func (DataSecurityHeadersConfigAttributes) XssProtection ¶
func (shc DataSecurityHeadersConfigAttributes) XssProtection() terra.ListValue[DataSecurityHeadersConfigXssProtectionAttributes]
type DataSecurityHeadersConfigContentSecurityPolicyAttributes ¶
type DataSecurityHeadersConfigContentSecurityPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy ¶
func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue
func (DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef ¶
func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens ¶
func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef ¶
func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigContentSecurityPolicyAttributes
func (DataSecurityHeadersConfigContentSecurityPolicyAttributes) Override ¶
func (csp DataSecurityHeadersConfigContentSecurityPolicyAttributes) Override() terra.BoolValue
type DataSecurityHeadersConfigContentTypeOptionsAttributes ¶
type DataSecurityHeadersConfigContentTypeOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalRef ¶
func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens ¶
func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef ¶
func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigContentTypeOptionsAttributes
func (DataSecurityHeadersConfigContentTypeOptionsAttributes) Override ¶
func (cto DataSecurityHeadersConfigContentTypeOptionsAttributes) Override() terra.BoolValue
type DataSecurityHeadersConfigContentTypeOptionsState ¶
type DataSecurityHeadersConfigContentTypeOptionsState struct {
Override bool `json:"override"`
}
type DataSecurityHeadersConfigFrameOptionsAttributes ¶
type DataSecurityHeadersConfigFrameOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigFrameOptionsAttributes) FrameOption ¶
func (fo DataSecurityHeadersConfigFrameOptionsAttributes) FrameOption() terra.StringValue
func (DataSecurityHeadersConfigFrameOptionsAttributes) InternalRef ¶
func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigFrameOptionsAttributes) InternalTokens ¶
func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigFrameOptionsAttributes) InternalWithRef ¶
func (fo DataSecurityHeadersConfigFrameOptionsAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigFrameOptionsAttributes
func (DataSecurityHeadersConfigFrameOptionsAttributes) Override ¶
func (fo DataSecurityHeadersConfigFrameOptionsAttributes) Override() terra.BoolValue
type DataSecurityHeadersConfigReferrerPolicyAttributes ¶
type DataSecurityHeadersConfigReferrerPolicyAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigReferrerPolicyAttributes) InternalRef ¶
func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigReferrerPolicyAttributes) InternalTokens ¶
func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef ¶
func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigReferrerPolicyAttributes
func (DataSecurityHeadersConfigReferrerPolicyAttributes) Override ¶
func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) Override() terra.BoolValue
func (DataSecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy ¶
func (rp DataSecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
type DataSecurityHeadersConfigState ¶
type DataSecurityHeadersConfigState struct { ContentSecurityPolicy []DataSecurityHeadersConfigContentSecurityPolicyState `json:"content_security_policy"` ContentTypeOptions []DataSecurityHeadersConfigContentTypeOptionsState `json:"content_type_options"` FrameOptions []DataSecurityHeadersConfigFrameOptionsState `json:"frame_options"` ReferrerPolicy []DataSecurityHeadersConfigReferrerPolicyState `json:"referrer_policy"` StrictTransportSecurity []DataSecurityHeadersConfigStrictTransportSecurityState `json:"strict_transport_security"` XssProtection []DataSecurityHeadersConfigXssProtectionState `json:"xss_protection"` }
type DataSecurityHeadersConfigStrictTransportSecurityAttributes ¶
type DataSecurityHeadersConfigStrictTransportSecurityAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigStrictTransportSecurityAttributes
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) Override ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) Override() terra.BoolValue
func (DataSecurityHeadersConfigStrictTransportSecurityAttributes) Preload ¶
func (sts DataSecurityHeadersConfigStrictTransportSecurityAttributes) Preload() terra.BoolValue
type DataSecurityHeadersConfigXssProtectionAttributes ¶
type DataSecurityHeadersConfigXssProtectionAttributes struct {
// contains filtered or unexported fields
}
func (DataSecurityHeadersConfigXssProtectionAttributes) InternalRef ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalRef() (terra.Reference, error)
func (DataSecurityHeadersConfigXssProtectionAttributes) InternalTokens ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSecurityHeadersConfigXssProtectionAttributes) InternalWithRef ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) InternalWithRef(ref terra.Reference) DataSecurityHeadersConfigXssProtectionAttributes
func (DataSecurityHeadersConfigXssProtectionAttributes) ModeBlock ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) ModeBlock() terra.BoolValue
func (DataSecurityHeadersConfigXssProtectionAttributes) Override ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) Override() terra.BoolValue
func (DataSecurityHeadersConfigXssProtectionAttributes) Protection ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) Protection() terra.BoolValue
func (DataSecurityHeadersConfigXssProtectionAttributes) ReportUri ¶
func (xp DataSecurityHeadersConfigXssProtectionAttributes) ReportUri() terra.StringValue
type DataServerTimingHeadersConfigAttributes ¶
type DataServerTimingHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataServerTimingHeadersConfigAttributes) Enabled ¶
func (sthc DataServerTimingHeadersConfigAttributes) Enabled() terra.BoolValue
func (DataServerTimingHeadersConfigAttributes) InternalRef ¶
func (sthc DataServerTimingHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (DataServerTimingHeadersConfigAttributes) InternalTokens ¶
func (sthc DataServerTimingHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataServerTimingHeadersConfigAttributes) InternalWithRef ¶
func (sthc DataServerTimingHeadersConfigAttributes) InternalWithRef(ref terra.Reference) DataServerTimingHeadersConfigAttributes
func (DataServerTimingHeadersConfigAttributes) SamplingRate ¶
func (sthc DataServerTimingHeadersConfigAttributes) SamplingRate() terra.NumberValue
type DataSource ¶
DataSource represents the Terraform data resource aws_cloudfront_response_headers_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (acrhp *DataSource) Attributes() dataAwsCloudfrontResponseHeadersPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (acrhp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (acrhp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (acrhp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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 (rhc RemoveHeadersConfigAttributes) InternalWithRef(ref terra.Reference) RemoveHeadersConfigAttributes
func (RemoveHeadersConfigAttributes) Items ¶
func (rhc RemoveHeadersConfigAttributes) Items() terra.SetValue[RemoveHeadersConfigItemsAttributes]
type RemoveHeadersConfigItems ¶
type RemoveHeadersConfigItems struct { // Header: string, required Header terra.StringValue `hcl:"header,attr" validate:"required"` }
type RemoveHeadersConfigItemsAttributes ¶
type RemoveHeadersConfigItemsAttributes struct {
// contains filtered or unexported fields
}
func (RemoveHeadersConfigItemsAttributes) Header ¶
func (i RemoveHeadersConfigItemsAttributes) Header() terra.StringValue
func (RemoveHeadersConfigItemsAttributes) InternalRef ¶
func (i RemoveHeadersConfigItemsAttributes) InternalRef() (terra.Reference, error)
func (RemoveHeadersConfigItemsAttributes) InternalTokens ¶
func (i RemoveHeadersConfigItemsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RemoveHeadersConfigItemsAttributes) InternalWithRef ¶
func (i RemoveHeadersConfigItemsAttributes) InternalWithRef(ref terra.Reference) RemoveHeadersConfigItemsAttributes
type RemoveHeadersConfigItemsState ¶
type RemoveHeadersConfigItemsState struct {
Header string `json:"header"`
}
type RemoveHeadersConfigState ¶
type RemoveHeadersConfigState struct {
Items []RemoveHeadersConfigItemsState `json:"items"`
}
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_cloudfront_response_headers_policy.
func (*Resource) Attributes ¶
func (acrhp *Resource) Attributes() awsCloudfrontResponseHeadersPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acrhp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acrhp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type SecurityHeadersConfig ¶
type SecurityHeadersConfig struct { // SecurityHeadersConfigContentSecurityPolicy: optional ContentSecurityPolicy *SecurityHeadersConfigContentSecurityPolicy `hcl:"content_security_policy,block"` // SecurityHeadersConfigContentTypeOptions: optional ContentTypeOptions *SecurityHeadersConfigContentTypeOptions `hcl:"content_type_options,block"` // SecurityHeadersConfigFrameOptions: optional FrameOptions *SecurityHeadersConfigFrameOptions `hcl:"frame_options,block"` // SecurityHeadersConfigReferrerPolicy: optional ReferrerPolicy *SecurityHeadersConfigReferrerPolicy `hcl:"referrer_policy,block"` // SecurityHeadersConfigStrictTransportSecurity: optional StrictTransportSecurity *SecurityHeadersConfigStrictTransportSecurity `hcl:"strict_transport_security,block"` // SecurityHeadersConfigXssProtection: optional XssProtection *SecurityHeadersConfigXssProtection `hcl:"xss_protection,block"` }
type SecurityHeadersConfigAttributes ¶
type SecurityHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigAttributes) ContentSecurityPolicy ¶
func (shc SecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[SecurityHeadersConfigContentSecurityPolicyAttributes]
func (SecurityHeadersConfigAttributes) ContentTypeOptions ¶
func (shc SecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[SecurityHeadersConfigContentTypeOptionsAttributes]
func (SecurityHeadersConfigAttributes) FrameOptions ¶
func (shc SecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[SecurityHeadersConfigFrameOptionsAttributes]
func (SecurityHeadersConfigAttributes) InternalRef ¶
func (shc SecurityHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigAttributes) InternalTokens ¶
func (shc SecurityHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigAttributes) InternalWithRef ¶
func (shc SecurityHeadersConfigAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigAttributes
func (SecurityHeadersConfigAttributes) ReferrerPolicy ¶
func (shc SecurityHeadersConfigAttributes) ReferrerPolicy() terra.ListValue[SecurityHeadersConfigReferrerPolicyAttributes]
func (SecurityHeadersConfigAttributes) StrictTransportSecurity ¶
func (shc SecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[SecurityHeadersConfigStrictTransportSecurityAttributes]
func (SecurityHeadersConfigAttributes) XssProtection ¶
func (shc SecurityHeadersConfigAttributes) XssProtection() terra.ListValue[SecurityHeadersConfigXssProtectionAttributes]
type SecurityHeadersConfigContentSecurityPolicy ¶
type SecurityHeadersConfigContentSecurityPolicy struct { // ContentSecurityPolicy: string, required ContentSecurityPolicy terra.StringValue `hcl:"content_security_policy,attr" validate:"required"` // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` }
type SecurityHeadersConfigContentSecurityPolicyAttributes ¶
type SecurityHeadersConfigContentSecurityPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy ¶
func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue
func (SecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef ¶
func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens ¶
func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef ¶
func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigContentSecurityPolicyAttributes
func (SecurityHeadersConfigContentSecurityPolicyAttributes) Override ¶
func (csp SecurityHeadersConfigContentSecurityPolicyAttributes) Override() terra.BoolValue
type SecurityHeadersConfigContentTypeOptionsAttributes ¶
type SecurityHeadersConfigContentTypeOptionsAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigContentTypeOptionsAttributes) InternalRef ¶
func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens ¶
func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef ¶
func (cto SecurityHeadersConfigContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigContentTypeOptionsAttributes
func (SecurityHeadersConfigContentTypeOptionsAttributes) Override ¶
func (cto SecurityHeadersConfigContentTypeOptionsAttributes) Override() terra.BoolValue
type SecurityHeadersConfigContentTypeOptionsState ¶
type SecurityHeadersConfigContentTypeOptionsState struct {
Override bool `json:"override"`
}
type SecurityHeadersConfigFrameOptions ¶
type SecurityHeadersConfigFrameOptions struct { // FrameOption: string, required FrameOption terra.StringValue `hcl:"frame_option,attr" validate:"required"` // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` }
type SecurityHeadersConfigFrameOptionsAttributes ¶
type SecurityHeadersConfigFrameOptionsAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigFrameOptionsAttributes) FrameOption ¶
func (fo SecurityHeadersConfigFrameOptionsAttributes) FrameOption() terra.StringValue
func (SecurityHeadersConfigFrameOptionsAttributes) InternalRef ¶
func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigFrameOptionsAttributes) InternalTokens ¶
func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigFrameOptionsAttributes) InternalWithRef ¶
func (fo SecurityHeadersConfigFrameOptionsAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigFrameOptionsAttributes
func (SecurityHeadersConfigFrameOptionsAttributes) Override ¶
func (fo SecurityHeadersConfigFrameOptionsAttributes) Override() terra.BoolValue
type SecurityHeadersConfigReferrerPolicy ¶
type SecurityHeadersConfigReferrerPolicy struct { // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` // ReferrerPolicy: string, required ReferrerPolicy terra.StringValue `hcl:"referrer_policy,attr" validate:"required"` }
type SecurityHeadersConfigReferrerPolicyAttributes ¶
type SecurityHeadersConfigReferrerPolicyAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigReferrerPolicyAttributes) InternalRef ¶
func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigReferrerPolicyAttributes) InternalTokens ¶
func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef ¶
func (rp SecurityHeadersConfigReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigReferrerPolicyAttributes
func (SecurityHeadersConfigReferrerPolicyAttributes) Override ¶
func (rp SecurityHeadersConfigReferrerPolicyAttributes) Override() terra.BoolValue
func (SecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy ¶
func (rp SecurityHeadersConfigReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
type SecurityHeadersConfigState ¶
type SecurityHeadersConfigState struct { ContentSecurityPolicy []SecurityHeadersConfigContentSecurityPolicyState `json:"content_security_policy"` ContentTypeOptions []SecurityHeadersConfigContentTypeOptionsState `json:"content_type_options"` FrameOptions []SecurityHeadersConfigFrameOptionsState `json:"frame_options"` ReferrerPolicy []SecurityHeadersConfigReferrerPolicyState `json:"referrer_policy"` StrictTransportSecurity []SecurityHeadersConfigStrictTransportSecurityState `json:"strict_transport_security"` XssProtection []SecurityHeadersConfigXssProtectionState `json:"xss_protection"` }
type SecurityHeadersConfigStrictTransportSecurity ¶
type SecurityHeadersConfigStrictTransportSecurity struct { // AccessControlMaxAgeSec: number, required AccessControlMaxAgeSec terra.NumberValue `hcl:"access_control_max_age_sec,attr" validate:"required"` // IncludeSubdomains: bool, optional IncludeSubdomains terra.BoolValue `hcl:"include_subdomains,attr"` // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` // Preload: bool, optional Preload terra.BoolValue `hcl:"preload,attr"` }
type SecurityHeadersConfigStrictTransportSecurityAttributes ¶
type SecurityHeadersConfigStrictTransportSecurityAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue
func (SecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue
func (SecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigStrictTransportSecurityAttributes
func (SecurityHeadersConfigStrictTransportSecurityAttributes) Override ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) Override() terra.BoolValue
func (SecurityHeadersConfigStrictTransportSecurityAttributes) Preload ¶
func (sts SecurityHeadersConfigStrictTransportSecurityAttributes) Preload() terra.BoolValue
type SecurityHeadersConfigXssProtection ¶
type SecurityHeadersConfigXssProtection struct { // ModeBlock: bool, optional ModeBlock terra.BoolValue `hcl:"mode_block,attr"` // Override: bool, required Override terra.BoolValue `hcl:"override,attr" validate:"required"` // Protection: bool, required Protection terra.BoolValue `hcl:"protection,attr" validate:"required"` // ReportUri: string, optional ReportUri terra.StringValue `hcl:"report_uri,attr"` }
type SecurityHeadersConfigXssProtectionAttributes ¶
type SecurityHeadersConfigXssProtectionAttributes struct {
// contains filtered or unexported fields
}
func (SecurityHeadersConfigXssProtectionAttributes) InternalRef ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) InternalRef() (terra.Reference, error)
func (SecurityHeadersConfigXssProtectionAttributes) InternalTokens ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityHeadersConfigXssProtectionAttributes) InternalWithRef ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) InternalWithRef(ref terra.Reference) SecurityHeadersConfigXssProtectionAttributes
func (SecurityHeadersConfigXssProtectionAttributes) ModeBlock ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) ModeBlock() terra.BoolValue
func (SecurityHeadersConfigXssProtectionAttributes) Override ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) Override() terra.BoolValue
func (SecurityHeadersConfigXssProtectionAttributes) Protection ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) Protection() terra.BoolValue
func (SecurityHeadersConfigXssProtectionAttributes) ReportUri ¶
func (xp SecurityHeadersConfigXssProtectionAttributes) ReportUri() terra.StringValue
type ServerTimingHeadersConfig ¶
type ServerTimingHeadersConfig struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // SamplingRate: number, required SamplingRate terra.NumberValue `hcl:"sampling_rate,attr" validate:"required"` }
type ServerTimingHeadersConfigAttributes ¶
type ServerTimingHeadersConfigAttributes struct {
// contains filtered or unexported fields
}
func (ServerTimingHeadersConfigAttributes) Enabled ¶
func (sthc ServerTimingHeadersConfigAttributes) Enabled() terra.BoolValue
func (ServerTimingHeadersConfigAttributes) InternalRef ¶
func (sthc ServerTimingHeadersConfigAttributes) InternalRef() (terra.Reference, error)
func (ServerTimingHeadersConfigAttributes) InternalTokens ¶
func (sthc ServerTimingHeadersConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerTimingHeadersConfigAttributes) InternalWithRef ¶
func (sthc ServerTimingHeadersConfigAttributes) InternalWithRef(ref terra.Reference) ServerTimingHeadersConfigAttributes
func (ServerTimingHeadersConfigAttributes) SamplingRate ¶
func (sthc ServerTimingHeadersConfigAttributes) SamplingRate() terra.NumberValue