apigateway

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 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
}

func (*API) GetMetadata

func (a *API) GetMetadata() *types.Metadata

func (*API) GetRawValue

func (a *API) GetRawValue() interface{}

type APIGateway

type APIGateway struct {
	types.Metadata
	APIs        []API
	DomainNames []DomainName
}

func (*APIGateway) GetMetadata added in v0.3.24

func (a *APIGateway) GetMetadata() *types.Metadata

func (*APIGateway) GetRawValue added in v0.3.24

func (a *APIGateway) GetRawValue() interface{}

type AccessLogging

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

func (*AccessLogging) GetMetadata added in v0.3.24

func (a *AccessLogging) GetMetadata() *types.Metadata

func (*AccessLogging) GetRawValue added in v0.3.24

func (a *AccessLogging) GetRawValue() interface{}

type DomainName

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

func (*DomainName) GetMetadata

func (d *DomainName) GetMetadata() *types.Metadata

func (*DomainName) GetRawValue

func (d *DomainName) GetRawValue() interface{}

type RESTMethod

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

func (*RESTMethod) GetMetadata

func (m *RESTMethod) GetMetadata() *types.Metadata

func (*RESTMethod) GetRawValue

func (m *RESTMethod) GetRawValue() interface{}

type RESTMethodSettings

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

func (*RESTMethodSettings) GetMetadata added in v0.3.24

func (r *RESTMethodSettings) GetMetadata() *types.Metadata

func (*RESTMethodSettings) GetRawValue added in v0.3.24

func (r *RESTMethodSettings) GetRawValue() interface{}

type Stage

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

func (*Stage) GetMetadata

func (s *Stage) GetMetadata() *types.Metadata

func (*Stage) GetRawValue

func (s *Stage) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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