sam

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 {
	Metadata            defsecTypes.Metadata
	Name                defsecTypes.StringValue
	TracingEnabled      defsecTypes.BoolValue
	DomainConfiguration DomainConfiguration
	AccessLogging       AccessLogging
	RESTMethodSettings  RESTMethodSettings
}

type AccessLogging

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

type ApiAuth

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

type Application

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

type DomainConfiguration

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

type Function

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

type HttpAPI

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

type Location

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

type LoggingConfiguration

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

type Permission

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

type RESTMethodSettings

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

type RouteSettings

type RouteSettings struct {
	Metadata               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 {
	Metadata defsecTypes.Metadata

	Enabled        defsecTypes.BoolValue
	KMSMasterKeyID defsecTypes.StringValue
}

type SimpleTable

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

type StateMachine

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

type TracingConfiguration

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

Jump to

Keyboard shortcuts

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