Documentation ¶
Index ¶
- type CorsRule
- type CorsRuleAttributes
- func (cr CorsRuleAttributes) AllowedHeaders() terra.SetValue[terra.StringValue]
- func (cr CorsRuleAttributes) AllowedMethods() terra.SetValue[terra.StringValue]
- func (cr CorsRuleAttributes) AllowedOrigins() terra.SetValue[terra.StringValue]
- func (cr CorsRuleAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
- func (cr CorsRuleAttributes) Id() terra.StringValue
- func (cr CorsRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr CorsRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CorsRuleAttributes) InternalWithRef(ref terra.Reference) CorsRuleAttributes
- func (cr CorsRuleAttributes) MaxAgeSeconds() terra.NumberValue
- type CorsRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CorsRule ¶
type CorsRule struct { // AllowedHeaders: set of string, optional AllowedHeaders terra.SetValue[terra.StringValue] `hcl:"allowed_headers,attr"` // AllowedMethods: set of string, required AllowedMethods terra.SetValue[terra.StringValue] `hcl:"allowed_methods,attr" validate:"required"` // AllowedOrigins: set of string, required AllowedOrigins terra.SetValue[terra.StringValue] `hcl:"allowed_origins,attr" validate:"required"` // ExposeHeaders: set of string, optional ExposeHeaders terra.SetValue[terra.StringValue] `hcl:"expose_headers,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaxAgeSeconds: number, optional MaxAgeSeconds terra.NumberValue `hcl:"max_age_seconds,attr"` }
type CorsRuleAttributes ¶
type CorsRuleAttributes struct {
// contains filtered or unexported fields
}
func (CorsRuleAttributes) AllowedHeaders ¶
func (cr CorsRuleAttributes) AllowedHeaders() terra.SetValue[terra.StringValue]
func (CorsRuleAttributes) AllowedMethods ¶
func (cr CorsRuleAttributes) AllowedMethods() terra.SetValue[terra.StringValue]
func (CorsRuleAttributes) AllowedOrigins ¶
func (cr CorsRuleAttributes) AllowedOrigins() terra.SetValue[terra.StringValue]
func (CorsRuleAttributes) ExposeHeaders ¶
func (cr CorsRuleAttributes) ExposeHeaders() terra.SetValue[terra.StringValue]
func (CorsRuleAttributes) Id ¶
func (cr CorsRuleAttributes) Id() terra.StringValue
func (CorsRuleAttributes) InternalRef ¶
func (cr CorsRuleAttributes) InternalRef() (terra.Reference, error)
func (CorsRuleAttributes) InternalTokens ¶
func (cr CorsRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsRuleAttributes) InternalWithRef ¶
func (cr CorsRuleAttributes) InternalWithRef(ref terra.Reference) CorsRuleAttributes
func (CorsRuleAttributes) MaxAgeSeconds ¶
func (cr CorsRuleAttributes) MaxAgeSeconds() terra.NumberValue
type CorsRuleState ¶
Click to show internal directories.
Click to hide internal directories.