Documentation ¶
Index ¶
- type AccessControlAllowHeaders
- type AccessControlAllowHeadersAttributes
- func (acah AccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
- func (acah AccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acah AccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowHeadersAttributes
- func (acah AccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type AccessControlAllowHeadersState
- type AccessControlAllowMethods
- type AccessControlAllowMethodsAttributes
- func (acam AccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
- func (acam AccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acam AccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowMethodsAttributes
- func (acam AccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
- type AccessControlAllowMethodsState
- type AccessControlAllowOrigins
- type AccessControlAllowOriginsAttributes
- func (acao AccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
- func (acao AccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acao AccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowOriginsAttributes
- func (acao AccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
- type AccessControlAllowOriginsState
- type AccessControlExposeHeaders
- type AccessControlExposeHeadersAttributes
- func (aceh AccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
- func (aceh AccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aceh AccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) AccessControlExposeHeadersAttributes
- func (aceh AccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
- type AccessControlExposeHeadersState
- type ContentSecurityPolicy
- type ContentSecurityPolicyAttributes
- func (csp ContentSecurityPolicyAttributes) ContentSecurityPolicy() terra.StringValue
- func (csp ContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
- func (csp ContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (csp ContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) ContentSecurityPolicyAttributes
- func (csp ContentSecurityPolicyAttributes) Override() terra.BoolValue
- type ContentSecurityPolicyState
- type ContentTypeOptions
- type ContentTypeOptionsAttributes
- func (cto ContentTypeOptionsAttributes) InternalRef() (terra.Reference, error)
- func (cto ContentTypeOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cto ContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) ContentTypeOptionsAttributes
- func (cto ContentTypeOptionsAttributes) Override() terra.BoolValue
- type ContentTypeOptionsState
- type CorsConfig
- type CorsConfigAttributes
- func (cc CorsConfigAttributes) AccessControlAllowCredentials() terra.BoolValue
- func (cc CorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[AccessControlAllowHeadersAttributes]
- func (cc CorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[AccessControlAllowMethodsAttributes]
- func (cc CorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[AccessControlAllowOriginsAttributes]
- func (cc CorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[AccessControlExposeHeadersAttributes]
- 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 FrameOptions
- type FrameOptionsAttributes
- func (fo FrameOptionsAttributes) FrameOption() terra.StringValue
- func (fo FrameOptionsAttributes) InternalRef() (terra.Reference, error)
- func (fo FrameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fo FrameOptionsAttributes) InternalWithRef(ref terra.Reference) FrameOptionsAttributes
- func (fo FrameOptionsAttributes) Override() terra.BoolValue
- type FrameOptionsState
- type ReferrerPolicy
- type ReferrerPolicyAttributes
- func (rp ReferrerPolicyAttributes) InternalRef() (terra.Reference, error)
- func (rp ReferrerPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rp ReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) ReferrerPolicyAttributes
- func (rp ReferrerPolicyAttributes) Override() terra.BoolValue
- func (rp ReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
- type ReferrerPolicyState
- 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 SecurityHeadersConfig
- type SecurityHeadersConfigAttributes
- func (shc SecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[ContentSecurityPolicyAttributes]
- func (shc SecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[ContentTypeOptionsAttributes]
- func (shc SecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[FrameOptionsAttributes]
- 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[ReferrerPolicyAttributes]
- func (shc SecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[StrictTransportSecurityAttributes]
- func (shc SecurityHeadersConfigAttributes) XssProtection() terra.ListValue[XssProtectionAttributes]
- type SecurityHeadersConfigState
- 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
- type StrictTransportSecurity
- type StrictTransportSecurityAttributes
- func (sts StrictTransportSecurityAttributes) AccessControlMaxAgeSec() terra.NumberValue
- func (sts StrictTransportSecurityAttributes) IncludeSubdomains() terra.BoolValue
- func (sts StrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
- func (sts StrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sts StrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) StrictTransportSecurityAttributes
- func (sts StrictTransportSecurityAttributes) Override() terra.BoolValue
- func (sts StrictTransportSecurityAttributes) Preload() terra.BoolValue
- type StrictTransportSecurityState
- type XssProtection
- type XssProtectionAttributes
- func (xp XssProtectionAttributes) InternalRef() (terra.Reference, error)
- func (xp XssProtectionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (xp XssProtectionAttributes) InternalWithRef(ref terra.Reference) XssProtectionAttributes
- func (xp XssProtectionAttributes) ModeBlock() terra.BoolValue
- func (xp XssProtectionAttributes) Override() terra.BoolValue
- func (xp XssProtectionAttributes) Protection() terra.BoolValue
- func (xp XssProtectionAttributes) ReportUri() terra.StringValue
- type XssProtectionState
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 (acah AccessControlAllowHeadersAttributes) InternalRef() (terra.Reference, error)
func (AccessControlAllowHeadersAttributes) InternalTokens ¶
func (acah AccessControlAllowHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlAllowHeadersAttributes) InternalWithRef ¶
func (acah AccessControlAllowHeadersAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowHeadersAttributes
func (AccessControlAllowHeadersAttributes) Items ¶
func (acah AccessControlAllowHeadersAttributes) Items() terra.SetValue[terra.StringValue]
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 (acam AccessControlAllowMethodsAttributes) InternalRef() (terra.Reference, error)
func (AccessControlAllowMethodsAttributes) InternalTokens ¶
func (acam AccessControlAllowMethodsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlAllowMethodsAttributes) InternalWithRef ¶
func (acam AccessControlAllowMethodsAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowMethodsAttributes
func (AccessControlAllowMethodsAttributes) Items ¶
func (acam AccessControlAllowMethodsAttributes) Items() terra.SetValue[terra.StringValue]
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 (acao AccessControlAllowOriginsAttributes) InternalRef() (terra.Reference, error)
func (AccessControlAllowOriginsAttributes) InternalTokens ¶
func (acao AccessControlAllowOriginsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlAllowOriginsAttributes) InternalWithRef ¶
func (acao AccessControlAllowOriginsAttributes) InternalWithRef(ref terra.Reference) AccessControlAllowOriginsAttributes
func (AccessControlAllowOriginsAttributes) Items ¶
func (acao AccessControlAllowOriginsAttributes) Items() terra.SetValue[terra.StringValue]
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 (aceh AccessControlExposeHeadersAttributes) InternalRef() (terra.Reference, error)
func (AccessControlExposeHeadersAttributes) InternalTokens ¶
func (aceh AccessControlExposeHeadersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccessControlExposeHeadersAttributes) InternalWithRef ¶
func (aceh AccessControlExposeHeadersAttributes) InternalWithRef(ref terra.Reference) AccessControlExposeHeadersAttributes
func (AccessControlExposeHeadersAttributes) Items ¶
func (aceh AccessControlExposeHeadersAttributes) Items() terra.SetValue[terra.StringValue]
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 (csp ContentSecurityPolicyAttributes) InternalRef() (terra.Reference, error)
func (ContentSecurityPolicyAttributes) InternalTokens ¶
func (csp ContentSecurityPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContentSecurityPolicyAttributes) InternalWithRef ¶
func (csp ContentSecurityPolicyAttributes) InternalWithRef(ref terra.Reference) ContentSecurityPolicyAttributes
func (ContentSecurityPolicyAttributes) Override ¶
func (csp ContentSecurityPolicyAttributes) Override() terra.BoolValue
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 (cto ContentTypeOptionsAttributes) InternalWithRef(ref terra.Reference) ContentTypeOptionsAttributes
func (ContentTypeOptionsAttributes) Override ¶
func (cto ContentTypeOptionsAttributes) Override() terra.BoolValue
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 (cc CorsConfigAttributes) AccessControlAllowHeaders() terra.ListValue[AccessControlAllowHeadersAttributes]
func (CorsConfigAttributes) AccessControlAllowMethods ¶
func (cc CorsConfigAttributes) AccessControlAllowMethods() terra.ListValue[AccessControlAllowMethodsAttributes]
func (CorsConfigAttributes) AccessControlAllowOrigins ¶
func (cc CorsConfigAttributes) AccessControlAllowOrigins() terra.ListValue[AccessControlAllowOriginsAttributes]
func (CorsConfigAttributes) AccessControlExposeHeaders ¶
func (cc CorsConfigAttributes) AccessControlExposeHeaders() terra.ListValue[AccessControlExposeHeadersAttributes]
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 (chc CustomHeadersConfigAttributes) InternalWithRef(ref terra.Reference) CustomHeadersConfigAttributes
func (CustomHeadersConfigAttributes) Items ¶
func (chc CustomHeadersConfigAttributes) Items() terra.SetValue[CustomHeadersConfigItemsAttributes]
type CustomHeadersConfigItems ¶
type CustomHeadersConfigItems struct{}
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 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 (fo FrameOptionsAttributes) InternalWithRef(ref terra.Reference) FrameOptionsAttributes
func (FrameOptionsAttributes) Override ¶
func (fo FrameOptionsAttributes) Override() terra.BoolValue
type FrameOptionsState ¶
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 (rp ReferrerPolicyAttributes) InternalWithRef(ref terra.Reference) ReferrerPolicyAttributes
func (ReferrerPolicyAttributes) Override ¶
func (rp ReferrerPolicyAttributes) Override() terra.BoolValue
func (ReferrerPolicyAttributes) ReferrerPolicy ¶
func (rp ReferrerPolicyAttributes) ReferrerPolicy() terra.StringValue
type ReferrerPolicyState ¶
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{}
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 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 (shc SecurityHeadersConfigAttributes) ContentSecurityPolicy() terra.ListValue[ContentSecurityPolicyAttributes]
func (SecurityHeadersConfigAttributes) ContentTypeOptions ¶
func (shc SecurityHeadersConfigAttributes) ContentTypeOptions() terra.ListValue[ContentTypeOptionsAttributes]
func (SecurityHeadersConfigAttributes) FrameOptions ¶
func (shc SecurityHeadersConfigAttributes) FrameOptions() terra.ListValue[FrameOptionsAttributes]
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[ReferrerPolicyAttributes]
func (SecurityHeadersConfigAttributes) StrictTransportSecurity ¶
func (shc SecurityHeadersConfigAttributes) StrictTransportSecurity() terra.ListValue[StrictTransportSecurityAttributes]
func (SecurityHeadersConfigAttributes) XssProtection ¶
func (shc SecurityHeadersConfigAttributes) XssProtection() terra.ListValue[XssProtectionAttributes]
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 (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
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 (sts StrictTransportSecurityAttributes) InternalRef() (terra.Reference, error)
func (StrictTransportSecurityAttributes) InternalTokens ¶
func (sts StrictTransportSecurityAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StrictTransportSecurityAttributes) InternalWithRef ¶
func (sts StrictTransportSecurityAttributes) InternalWithRef(ref terra.Reference) StrictTransportSecurityAttributes
func (StrictTransportSecurityAttributes) Override ¶
func (sts StrictTransportSecurityAttributes) Override() terra.BoolValue
func (StrictTransportSecurityAttributes) Preload ¶
func (sts StrictTransportSecurityAttributes) Preload() terra.BoolValue
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 (xp XssProtectionAttributes) InternalWithRef(ref terra.Reference) XssProtectionAttributes
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
Click to show internal directories.
Click to hide internal directories.