apigateway

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtocolTypeUnknown   string = ""
	ProtocolTypeREST      string = "REST"
	ProtocolTypeHTTP      string = "HTTP"
	ProtocolTypeWebsocket string = "WEBSOCKET"
)
View Source
const (
	AuthorizationNone             = "NONE"
	AuthorizationCustom           = "CUSTOM"
	AuthorizationIAM              = "AWS_IAM"
	AuthorizationCognitoUserPools = "COGNITO_USER_POOLS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	types.Metadata
	Name         types.StringValue
	Version      types.IntValue
	ProtocolType types.StringValue
	Stages       []Stage
	RESTMethods  []RESTMethod
}

type APIGateway

type APIGateway struct {
	APIs        []API
	DomainNames []DomainName
}

type AccessLogging

type AccessLogging struct {
	types.Metadata
	CloudwatchLogGroupARN types.StringValue
}

type DomainName

type DomainName struct {
	types.Metadata
	Name           types.StringValue
	Version        types.IntValue
	SecurityPolicy types.StringValue
}

type RESTMethod

type RESTMethod struct {
	types.Metadata
	HTTPMethod        types.StringValue
	AuthorizationType types.StringValue
	APIKeyRequired    types.BoolValue
}

type RESTMethodSettings

type RESTMethodSettings struct {
	types.Metadata
	CacheDataEncrypted types.BoolValue
	CacheEnabled       types.BoolValue
}

type Stage

type Stage struct {
	types.Metadata
	Name               types.StringValue
	Version            types.IntValue
	AccessLogging      AccessLogging
	RESTMethodSettings RESTMethodSettings
	XRayTracingEnabled types.BoolValue
}

Jump to

Keyboard shortcuts

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