apigatewayv2api

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 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 (CorsConfigurationAttributes) AllowMethods

func (CorsConfigurationAttributes) AllowOrigins

func (CorsConfigurationAttributes) ExposeHeaders

func (CorsConfigurationAttributes) InternalRef

func (cc CorsConfigurationAttributes) InternalRef() (terra.Reference, error)

func (CorsConfigurationAttributes) InternalTokens

func (cc CorsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CorsConfigurationAttributes) InternalWithRef

func (CorsConfigurationAttributes) MaxAge

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

Jump to

Keyboard shortcuts

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