lambdafunctionurl

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 CorsState

type CorsState 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"`
}

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 (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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL