Documentation ¶
Index ¶
- Constants
- type API
- type AccessLogging
- type ApiAuth
- type Application
- type DomainConfiguration
- type Function
- type HttpAPI
- type Location
- type LoggingConfiguration
- type Permission
- type RESTMethodSettings
- type RouteSettings
- type SAM
- type SSESpecification
- type SimpleTable
- type StateMachine
- type TracingConfiguration
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 }
Click to show internal directories.
Click to hide internal directories.