v1

package
v0.82.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

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 {
	Metadata  defsecTypes.Metadata
	Name      defsecTypes.StringValue
	Stages    []Stage
	Resources []Resource
}

type APIGateway

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

type AccessLogging

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

type DomainName

type DomainName struct {
	Metadata       defsecTypes.Metadata
	Name           defsecTypes.StringValue
	SecurityPolicy defsecTypes.StringValue
}

type Method

type Method struct {
	Metadata          defsecTypes.Metadata
	HTTPMethod        defsecTypes.StringValue
	AuthorizationType defsecTypes.StringValue
	APIKeyRequired    defsecTypes.BoolValue
}

type RESTMethodSettings

type RESTMethodSettings struct {
	Metadata           defsecTypes.Metadata
	Method             defsecTypes.StringValue
	CacheDataEncrypted defsecTypes.BoolValue
	CacheEnabled       defsecTypes.BoolValue
}

type Resource

type Resource struct {
	Metadata defsecTypes.Metadata
	Methods  []Method
}

type Stage

type Stage struct {
	Metadata           defsecTypes.Metadata
	Name               defsecTypes.StringValue
	AccessLogging      AccessLogging
	XRayTracingEnabled defsecTypes.BoolValue
	RESTMethodSettings []RESTMethodSettings
}

Jump to

Keyboard shortcuts

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