Interface IStageOptions
(experimental) Options required to create a new stage.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IStageOptions
Syntax (vb)
Public Interface IStageOptions
Remarks
Options that are common between HTTP and Websocket APIs.
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.APIGatewayv2;
DomainName domainName;
var stageOptions = new StageOptions {
AutoDeploy = false,
DomainMapping = new DomainMappingOptions {
DomainName = domainName,
// the properties below are optional
MappingKey = "mappingKey"
},
Throttle = new ThrottleSettings {
BurstLimit = 123,
RateLimit = 123
}
};
Synopsis
Properties
AutoDeploy | (experimental) Whether updates to an API automatically trigger a new deployment. |
DomainMapping | (experimental) The options for custom domain and api mapping. |
Throttle | (experimental) Throttle settings for the routes of this stage. |
Properties
AutoDeploy
(experimental) Whether updates to an API automatically trigger a new deployment.
virtual Nullable<bool> AutoDeploy { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Stability: Experimental
DomainMapping
(experimental) The options for custom domain and api mapping.
virtual IDomainMappingOptions DomainMapping { get; }
Property Value
Remarks
Default: - no custom domain and api mapping configuration
Stability: Experimental
Throttle
(experimental) Throttle settings for the routes of this stage.
virtual IThrottleSettings Throttle { get; }
Property Value
Remarks
Default: - no throttling configuration
Stability: Experimental