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 {
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
}
Click to show internal directories.
Click to hide internal directories.