Interface IHttpStageOptions
(experimental) The options to create a new Stage for an HTTP API.
Namespace: Amazon.CDK.AWS.APIGatewayv2
Assembly: Amazon.CDK.AWS.APIGatewayv2.dll
Syntax (csharp)
public interface IHttpStageOptions : IStageOptions
Syntax (vb)
Public Interface IHttpStageOptions
Inherits IStageOptions
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
HttpApi api;
DomainName dn;
api.AddStage("beta", new HttpStageOptions {
StageName = "beta",
AutoDeploy = true,
// https://${dn.domainName}/bar goes to the beta stage
DomainMapping = new DomainMappingOptions {
DomainName = dn,
MappingKey = "bar"
}
});
Synopsis
Properties
StageName | (experimental) The name of the stage. |
Properties
StageName
(experimental) The name of the stage.
virtual string StageName { get; }
Property Value
System.String
Remarks
See StageName
class for more details.
Default: '$default' the default stage of the API. This stage will have the URL at the root of the API endpoint.
Stability: Experimental