sam

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 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
}

func (*API) GetMetadata

func (a *API) GetMetadata() *types.Metadata

func (*API) GetRawValue

func (a *API) GetRawValue() interface{}

type AccessLogging

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

func (*AccessLogging) GetMetadata

func (a *AccessLogging) GetMetadata() *types.Metadata

func (*AccessLogging) GetRawValue

func (a *AccessLogging) GetRawValue() interface{}

type ApiAuth

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

type Application

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

func (*Application) GetMetadata

func (a *Application) GetMetadata() *types.Metadata

func (*Application) GetRawValue

func (a *Application) GetRawValue() interface{}

type DomainConfiguration

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

func (*DomainConfiguration) GetMetadata

func (a *DomainConfiguration) GetMetadata() *types.Metadata

func (*DomainConfiguration) GetRawValue

func (a *DomainConfiguration) GetRawValue() interface{}

type Function

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

func (*Function) GetMetadata

func (c *Function) GetMetadata() *types.Metadata

func (*Function) GetRawValue

func (c *Function) GetRawValue() interface{}

type HttpAPI

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

func (*HttpAPI) GetMetadata

func (a *HttpAPI) GetMetadata() *types.Metadata

func (*HttpAPI) GetRawValue

func (a *HttpAPI) GetRawValue() interface{}

type Location

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

func (*Location) GetMetadata

func (a *Location) GetMetadata() *types.Metadata

func (*Location) GetRawValue

func (a *Location) GetRawValue() interface{}

type LoggingConfiguration

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

func (*LoggingConfiguration) GetMetadata

func (a *LoggingConfiguration) GetMetadata() *types.Metadata

func (*LoggingConfiguration) GetRawValue

func (a *LoggingConfiguration) GetRawValue() interface{}

type Permission

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

func (*Permission) GetMetadata

func (c *Permission) GetMetadata() *types.Metadata

func (*Permission) GetRawValue

func (c *Permission) GetRawValue() interface{}

type RESTMethodSettings

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

func (*RESTMethodSettings) GetMetadata

func (a *RESTMethodSettings) GetMetadata() *types.Metadata

func (*RESTMethodSettings) GetRawValue

func (a *RESTMethodSettings) GetRawValue() interface{}

type RouteSettings

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

func (*RouteSettings) GetMetadata

func (a *RouteSettings) GetMetadata() *types.Metadata

func (*RouteSettings) GetRawValue

func (a *RouteSettings) GetRawValue() interface{}

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
}

func (*SSESpecification) GetMetadata

func (a *SSESpecification) GetMetadata() *types.Metadata

func (*SSESpecification) GetRawValue

func (a *SSESpecification) GetRawValue() interface{}

type SimpleTable

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

func (*SimpleTable) GetMetadata

func (a *SimpleTable) GetMetadata() *types.Metadata

func (*SimpleTable) GetRawValue

func (a *SimpleTable) GetRawValue() interface{}

type StateMachine

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

func (*StateMachine) GetMetadata

func (a *StateMachine) GetMetadata() *types.Metadata

func (*StateMachine) GetRawValue

func (a *StateMachine) GetRawValue() interface{}

type TracingConfiguration

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

func (*TracingConfiguration) GetMetadata

func (a *TracingConfiguration) GetMetadata() *types.Metadata

func (*TracingConfiguration) GetRawValue

func (a *TracingConfiguration) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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