datalambdafunctionurl

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{}

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.ListValue[terra.StringValue]

func (CorsAttributes) AllowMethods

func (c CorsAttributes) AllowMethods() terra.ListValue[terra.StringValue]

func (CorsAttributes) AllowOrigins

func (c CorsAttributes) AllowOrigins() terra.ListValue[terra.StringValue]

func (CorsAttributes) ExposeHeaders

func (c CorsAttributes) ExposeHeaders() terra.ListValue[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"`
}

Jump to

Keyboard shortcuts

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