sam

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TracingModePassThrough = "PassThrough"
	TracingModeActive      = "Active"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	defsecTypes.Metadata
	Name                defsecTypes.StringValue
	TracingEnabled      defsecTypes.BoolValue
	DomainConfiguration DomainConfiguration
	AccessLogging       AccessLogging
	RESTMethodSettings  RESTMethodSettings
}

type AccessLogging

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

type ApiAuth

type ApiAuth struct {
	defsecTypes.Metadata
	ApiKeyRequired defsecTypes.BoolValue
}

type Application

type Application struct {
	defsecTypes.Metadata
	LocationPath defsecTypes.StringValue
	Location     Location
}

type DomainConfiguration

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

type Function

type Function struct {
	defsecTypes.Metadata
	FunctionName    defsecTypes.StringValue
	Tracing         defsecTypes.StringValue
	ManagedPolicies []defsecTypes.StringValue
	Policies        []iam.Policy
}

type HttpAPI

type HttpAPI struct {
	defsecTypes.Metadata
	Name                 defsecTypes.StringValue
	AccessLogging        AccessLogging
	DefaultRouteSettings RouteSettings
	DomainConfiguration  DomainConfiguration
}

type Location

type Location struct {
	defsecTypes.Metadata
	ApplicationID   defsecTypes.StringValue
	SemanticVersion defsecTypes.StringValue
}

type LoggingConfiguration

type LoggingConfiguration struct {
	defsecTypes.Metadata
	LoggingEnabled defsecTypes.BoolValue
}

type Permission

type Permission struct {
	defsecTypes.Metadata
	Principal defsecTypes.StringValue
	SourceARN defsecTypes.StringValue
}

type RESTMethodSettings

type RESTMethodSettings struct {
	defsecTypes.Metadata
	CacheDataEncrypted defsecTypes.BoolValue
	LoggingEnabled     defsecTypes.BoolValue
	DataTraceEnabled   defsecTypes.BoolValue
	MetricsEnabled     defsecTypes.BoolValue
}

type RouteSettings

type RouteSettings struct {
	defsecTypes.Metadata
	LoggingEnabled         defsecTypes.BoolValue
	DataTraceEnabled       defsecTypes.BoolValue
	DetailedMetricsEnabled defsecTypes.BoolValue
}

type SAM

type SAM struct {
	APIs          []API
	Applications  []Application
	Functions     []Function
	HttpAPIs      []HttpAPI
	SimpleTables  []SimpleTable
	StateMachines []StateMachine
}

type SSESpecification

type SSESpecification struct {
	defsecTypes.Metadata

	Enabled        defsecTypes.BoolValue
	KMSMasterKeyID defsecTypes.StringValue
}

type SimpleTable

type SimpleTable struct {
	defsecTypes.Metadata
	TableName        defsecTypes.StringValue
	SSESpecification SSESpecification
}

type StateMachine

type StateMachine struct {
	defsecTypes.Metadata
	Name                 defsecTypes.StringValue
	LoggingConfiguration LoggingConfiguration
	ManagedPolicies      []defsecTypes.StringValue
	Policies             []iam.Policy
	Tracing              TracingConfiguration
}

type TracingConfiguration

type TracingConfiguration struct {
	defsecTypes.Metadata
	Enabled defsecTypes.BoolValue
}

Jump to

Keyboard shortcuts

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