Interface IWebSocketStage.Jsii$Default
- All Superinterfaces:
IConstruct,software.constructs.IConstruct,IConstruct.Jsii$Default,software.constructs.IConstruct.Jsii$Default,IDependable,IDependable.Jsii$Default,IResource,IResource.Jsii$Default,IStage,IStage.Jsii$Default,IWebSocketStage,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IWebSocketStage.Jsii$Proxy
- Enclosing interface:
- IWebSocketStage
IWebSocketStage.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IDependable
IDependable.Jsii$Default, IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigatewayv2.IStage
IStage.Jsii$Default, IStage.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigatewayv2.IWebSocketStage
IWebSocketStage.Jsii$Default, IWebSocketStage.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default IWebSocketApigetApi()(experimental) The API this stage is associated to.default String(experimental) The callback URL to this stage.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default ConstructNodegetNode()The construct tree node for this construct.default StackgetStack()The stack in which this resource is defined.default String(experimental) The name of the stage;default StringgetUrl()(experimental) The URL to this stage.default Metricmetric(String metricName, MetricOptions props) (experimental) Return the given named metric for this HTTP Api Gateway Stage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
The construct tree node for this construct.- Specified by:
getNodein interfaceIConstruct- Specified by:
getNodein interfaceIConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default- Specified by:
getNodein interfaceIStage.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default- Specified by:
getEnvin interfaceIStage.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default- Specified by:
getStackin interfaceIStage.Jsii$Default
-
getStageName
(experimental) The name of the stage;its primary identifier.
- Specified by:
getStageNamein interfaceIStage- Specified by:
getStageNamein interfaceIStage.Jsii$Default
-
getUrl
(experimental) The URL to this stage.- Specified by:
getUrlin interfaceIStage- Specified by:
getUrlin interfaceIStage.Jsii$Default
-
getApi
(experimental) The API this stage is associated to.- Specified by:
getApiin interfaceIWebSocketStage
-
getCallbackUrl
(experimental) The callback URL to this stage.You can use the callback URL to send messages to the client from the backend system. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-basic-concept.html https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html
- Specified by:
getCallbackUrlin interfaceIWebSocketStage
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIStage.Jsii$Default- Parameters:
policy- This parameter is required.
-
metric
@Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this HTTP Api Gateway Stage.Default: - average over 5 minutes
- Specified by:
metricin interfaceIStage- Specified by:
metricin interfaceIStage.Jsii$Default- Parameters:
metricName- This parameter is required.props-
-