sam

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

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

type AccessLogging

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

type ApiAuth

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

type Application

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

type DomainConfiguration

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

type Function

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

type HttpAPI

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

type Location

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

type LoggingConfiguration

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

type Permission

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

type RESTMethodSettings

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

type RouteSettings

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

type SAM

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

type SSESpecification

type SSESpecification struct {
	Metadata iacTypes.Metadata

	Enabled        iacTypes.BoolValue
	KMSMasterKeyID iacTypes.StringValue
}

type SimpleTable

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

type StateMachine

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

type TracingConfiguration

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

Jump to

Keyboard shortcuts

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