Documentation ¶
Index ¶
- type Cors
- type CorsAttributes
- func (c CorsAttributes) AllowCredentials() terra.BoolValue
- func (c CorsAttributes) AllowHeaders() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) AllowMethods() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) AllowOrigins() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
- func (c CorsAttributes) InternalRef() (terra.Reference, error)
- func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes
- func (c CorsAttributes) MaxAge() terra.NumberValue
- type CorsState
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cors ¶
type Cors 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 CorsAttributes ¶
type CorsAttributes struct {
// contains filtered or unexported fields
}
func (CorsAttributes) AllowCredentials ¶
func (c CorsAttributes) AllowCredentials() terra.BoolValue
func (CorsAttributes) AllowHeaders ¶
func (c CorsAttributes) AllowHeaders() terra.SetValue[terra.StringValue]
func (CorsAttributes) AllowMethods ¶
func (c CorsAttributes) AllowMethods() terra.SetValue[terra.StringValue]
func (CorsAttributes) AllowOrigins ¶
func (c CorsAttributes) AllowOrigins() terra.SetValue[terra.StringValue]
func (CorsAttributes) ExposeHeaders ¶
func (c CorsAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
func (CorsAttributes) InternalRef ¶
func (c CorsAttributes) InternalRef() (terra.Reference, error)
func (CorsAttributes) InternalTokens ¶
func (c CorsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsAttributes) InternalWithRef ¶
func (c CorsAttributes) InternalWithRef(ref terra.Reference) CorsAttributes
func (CorsAttributes) MaxAge ¶
func (c CorsAttributes) MaxAge() terra.NumberValue
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
type TimeoutsState ¶
type TimeoutsState struct {
Create string `json:"create"`
}
Click to show internal directories.
Click to hide internal directories.