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 { defsecTypes.Metadata Name defsecTypes.StringValue Stages []Stage Resources []Resource }
type APIGateway ¶
type APIGateway struct { APIs []API DomainNames []DomainName }
type AccessLogging ¶
type AccessLogging struct { defsecTypes.Metadata CloudwatchLogGroupARN defsecTypes.StringValue }
type DomainName ¶
type DomainName struct { defsecTypes.Metadata Name defsecTypes.StringValue SecurityPolicy defsecTypes.StringValue }
type Method ¶
type Method struct { defsecTypes.Metadata HTTPMethod defsecTypes.StringValue AuthorizationType defsecTypes.StringValue APIKeyRequired defsecTypes.BoolValue }
type RESTMethodSettings ¶
type RESTMethodSettings struct { defsecTypes.Metadata Method defsecTypes.StringValue CacheDataEncrypted defsecTypes.BoolValue CacheEnabled defsecTypes.BoolValue }
type Resource ¶
type Resource struct { defsecTypes.Metadata Methods []Method }
type Stage ¶
type Stage struct { defsecTypes.Metadata Name defsecTypes.StringValue AccessLogging AccessLogging XRayTracingEnabled defsecTypes.BoolValue RESTMethodSettings []RESTMethodSettings }
Click to show internal directories.
Click to hide internal directories.