Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthorizationNone = "NONE" AuthorizationCustom = "CUSTOM" AuthorizationIAM = "AWS_IAM" AuthorizationCognitoUserPools = "COGNITO_USER_POOLS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue Stages []Stage Resources []Resource }
type APIGateway ¶
type APIGateway struct { APIs []API DomainNames []DomainName }
type AccessLogging ¶
type AccessLogging struct { Metadata defsecTypes.Metadata CloudwatchLogGroupARN defsecTypes.StringValue }
type DomainName ¶
type DomainName struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue SecurityPolicy defsecTypes.StringValue }
type Method ¶
type Method struct { Metadata defsecTypes.Metadata HTTPMethod defsecTypes.StringValue AuthorizationType defsecTypes.StringValue APIKeyRequired defsecTypes.BoolValue }
type RESTMethodSettings ¶
type RESTMethodSettings struct { Metadata defsecTypes.Metadata Method defsecTypes.StringValue CacheDataEncrypted defsecTypes.BoolValue CacheEnabled defsecTypes.BoolValue }
type Resource ¶
type Resource struct { Metadata defsecTypes.Metadata Methods []Method }
type Stage ¶
type Stage struct { Metadata defsecTypes.Metadata Name defsecTypes.StringValue AccessLogging AccessLogging XRayTracingEnabled defsecTypes.BoolValue RESTMethodSettings []RESTMethodSettings }
Click to show internal directories.
Click to hide internal directories.