sam

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 2 Imported by: 0

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

type AccessLogging

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

type ApiAuth

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

type Application

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

type DomainConfiguration

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

type Function

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

type HttpAPI

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

type Location

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

type LoggingConfiguration

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

type Permission

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

type RESTMethodSettings

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

type RouteSettings

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

type SAM

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

type SSESpecification

type SSESpecification struct {
	types.Metadata

	Enabled        types.BoolValue
	KMSMasterKeyID types.StringValue
}

type SimpleTable

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

type StateMachine

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

type TracingConfiguration

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

Jump to

Keyboard shortcuts

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