Well Architected Rest Api properties

Hierarchy

Properties

stageOptions?: StageOptions

Stage options

waAlwaysAddDefaultAlarms?: boolean

This flag is used to always add the default alarms irrespective of the environment the stack is deployed.

waDoNotAddDefaultAlarms?: boolean

This flag is used to skip the default alarms irrespective of the environment the stack is deployed.

waDoNotCreateDefaultApiKey?: boolean

WaRestApi automatically creates a default ApiKey with a corresponding default Usage Plan, unless the deployment is intentionally disabled by setting the deploy property to false. The default ApiKey is required for all method invocations by default. The default Usage Plan has no throttling and the quota is also not set. Set this flag to true if such a default ApiKey / Usage Plan is not desired.

Default Value

false

waDoNotDeploy?: boolean

Flag to control if api should be deployed or not.

waDoNotEnableDefaultAccessLog?: boolean

WaRestApi automatically enables access logs using the destination of a specific CloudWatch LogGroup based on the name DefaultRestApiAccessLogGroup. The log entry format is the CDK default Common Log Format. Set this flag to true if such a default access log enablement is not desired.

Default Value

false

Generated using TypeDoc