Documentation ¶
Index ¶
- type CorsConfiguration
- type CorsConfigurationAttributes
- func (cc CorsConfigurationAttributes) AllowCredentials() terra.BoolValue
- func (cc CorsConfigurationAttributes) AllowHeaders() terra.SetValue[terra.StringValue]
- func (cc CorsConfigurationAttributes) AllowMethods() terra.SetValue[terra.StringValue]
- func (cc CorsConfigurationAttributes) AllowOrigins() terra.SetValue[terra.StringValue]
- func (cc CorsConfigurationAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
- func (cc CorsConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc CorsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CorsConfigurationAttributes) InternalWithRef(ref terra.Reference) CorsConfigurationAttributes
- func (cc CorsConfigurationAttributes) MaxAge() terra.NumberValue
- type CorsConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorsConfiguration ¶
type CorsConfiguration struct { // AllowCredentials: bool, optional AllowCredentials terra.BoolValue `hcl:"allow_credentials,attr"` // AllowHeaders: set of string, optional AllowHeaders terra.SetValue[terra.StringValue] `hcl:"allow_headers,attr"` // AllowMethods: set of string, optional AllowMethods terra.SetValue[terra.StringValue] `hcl:"allow_methods,attr"` // AllowOrigins: set of string, optional AllowOrigins terra.SetValue[terra.StringValue] `hcl:"allow_origins,attr"` // ExposeHeaders: set of string, optional ExposeHeaders terra.SetValue[terra.StringValue] `hcl:"expose_headers,attr"` // MaxAge: number, optional MaxAge terra.NumberValue `hcl:"max_age,attr"` }
type CorsConfigurationAttributes ¶
type CorsConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CorsConfigurationAttributes) AllowCredentials ¶
func (cc CorsConfigurationAttributes) AllowCredentials() terra.BoolValue
func (CorsConfigurationAttributes) AllowHeaders ¶
func (cc CorsConfigurationAttributes) AllowHeaders() terra.SetValue[terra.StringValue]
func (CorsConfigurationAttributes) AllowMethods ¶
func (cc CorsConfigurationAttributes) AllowMethods() terra.SetValue[terra.StringValue]
func (CorsConfigurationAttributes) AllowOrigins ¶
func (cc CorsConfigurationAttributes) AllowOrigins() terra.SetValue[terra.StringValue]
func (CorsConfigurationAttributes) ExposeHeaders ¶
func (cc CorsConfigurationAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
func (CorsConfigurationAttributes) InternalRef ¶
func (cc CorsConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CorsConfigurationAttributes) InternalTokens ¶
func (cc CorsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsConfigurationAttributes) InternalWithRef ¶
func (cc CorsConfigurationAttributes) InternalWithRef(ref terra.Reference) CorsConfigurationAttributes
func (CorsConfigurationAttributes) MaxAge ¶
func (cc CorsConfigurationAttributes) MaxAge() terra.NumberValue
type CorsConfigurationState ¶
type CorsConfigurationState struct { AllowCredentials bool `json:"allow_credentials"` AllowHeaders []string `json:"allow_headers"` AllowMethods []string `json:"allow_methods"` AllowOrigins []string `json:"allow_origins"` ExposeHeaders []string `json:"expose_headers"` MaxAge float64 `json:"max_age"` }
Click to show internal directories.
Click to hide internal directories.