Class IHttpStage.Jsii$Proxy
- All Implemented Interfaces:
IResource,IResource.Jsii$Default,IHttpStage,IHttpStage.Jsii$Default,IStage,IStage.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IHttpStage
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigatewayv2.IHttpStage
IHttpStage.Jsii$Default, IHttpStage.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigatewayv2.IStage
IStage.Jsii$Default, IStage.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final IHttpApigetApi()The API this stage is associated to.final StringThe custom domain URL to this stage.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final software.constructs.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final StringThe name of the stage;final StringgetUrl()The URL to this stage.final MetricReturn the given named metric for this HTTP Api Gateway Stage.final Metricmetric(String metricName, MetricOptions props) Return the given named metric for this HTTP Api Gateway Stage.final MetricMetric for the number of client-side errors captured in a given period.final MetricmetricClientError(MetricOptions props) Metric for the number of client-side errors captured in a given period.final MetricMetric for the total number API requests in a given period.final MetricmetricCount(MetricOptions props) Metric for the total number API requests in a given period.final MetricMetric for the amount of data processed in bytes.final MetricmetricDataProcessed(MetricOptions props) Metric for the amount of data processed in bytes.final MetricMetric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.final MetricMetric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.final MetricThe time between when API Gateway receives a request from a client and when it returns a response to the client.final MetricmetricLatency(MetricOptions props) The time between when API Gateway receives a request from a client and when it returns a response to the client.final MetricMetric for the number of server-side errors captured in a given period.final MetricmetricServerError(MetricOptions props) Metric for the number of server-side errors captured in a given period.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIHttpStage.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 interfaceIHttpStage.Jsii$Default- 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 interfaceIHttpStage.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default- Specified by:
getStackin interfaceIStage.Jsii$Default
-
getStageName
The name of the stage;its primary identifier.
- Specified by:
getStageNamein interfaceIHttpStage.Jsii$Default- Specified by:
getStageNamein interfaceIStage- Specified by:
getStageNamein interfaceIStage.Jsii$Default
-
getUrl
The URL to this stage.- Specified by:
getUrlin interfaceIHttpStage.Jsii$Default- Specified by:
getUrlin interfaceIStage- Specified by:
getUrlin interfaceIStage.Jsii$Default
-
getApi
The API this stage is associated to.- Specified by:
getApiin interfaceIHttpStage- Specified by:
getApiin interfaceIHttpStage.Jsii$Default
-
getDomainUrl
The custom domain URL to this stage.- Specified by:
getDomainUrlin interfaceIHttpStage- Specified by:
getDomainUrlin interfaceIHttpStage.Jsii$Default
-
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 interfaceIHttpStage.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIStage.Jsii$Default- Parameters:
policy- This parameter is required.
-
metric
@Stability(Stable) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this HTTP Api Gateway Stage.Default: - average over 5 minutes
- Specified by:
metricin interfaceIHttpStage.Jsii$Default- Specified by:
metricin interfaceIStage- Specified by:
metricin interfaceIStage.Jsii$Default- Parameters:
metricName- This parameter is required.props-
-
metric
Return the given named metric for this HTTP Api Gateway Stage.Default: - average over 5 minutes
-
metricClientError
Metric for the number of client-side errors captured in a given period.Default: - sum over 5 minutes
- Specified by:
metricClientErrorin interfaceIHttpStage- Specified by:
metricClientErrorin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricClientError
Metric for the number of client-side errors captured in a given period.Default: - sum over 5 minutes
- Specified by:
metricClientErrorin interfaceIHttpStage
-
metricCount
Metric for the total number API requests in a given period.Default: - SampleCount over 5 minutes
- Specified by:
metricCountin interfaceIHttpStage- Specified by:
metricCountin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricCount
Metric for the total number API requests in a given period.Default: - SampleCount over 5 minutes
- Specified by:
metricCountin interfaceIHttpStage
-
metricDataProcessed
Metric for the amount of data processed in bytes.Default: - sum over 5 minutes
- Specified by:
metricDataProcessedin interfaceIHttpStage- Specified by:
metricDataProcessedin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricDataProcessed
Metric for the amount of data processed in bytes.Default: - sum over 5 minutes
- Specified by:
metricDataProcessedin interfaceIHttpStage
-
metricIntegrationLatency
@Stability(Stable) @NotNull public final Metric metricIntegrationLatency(@Nullable MetricOptions props) Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.Default: - no statistic
- Specified by:
metricIntegrationLatencyin interfaceIHttpStage- Specified by:
metricIntegrationLatencyin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricIntegrationLatency
Metric for the time between when API Gateway relays a request to the backend and when it receives a response from the backend.Default: - no statistic
- Specified by:
metricIntegrationLatencyin interfaceIHttpStage
-
metricLatency
The time between when API Gateway receives a request from a client and when it returns a response to the client.The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
- Specified by:
metricLatencyin interfaceIHttpStage- Specified by:
metricLatencyin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricLatency
The time between when API Gateway receives a request from a client and when it returns a response to the client.The latency includes the integration latency and other API Gateway overhead.
Default: - no statistic
- Specified by:
metricLatencyin interfaceIHttpStage
-
metricServerError
Metric for the number of server-side errors captured in a given period.Default: - sum over 5 minutes
- Specified by:
metricServerErrorin interfaceIHttpStage- Specified by:
metricServerErrorin interfaceIHttpStage.Jsii$Default- Parameters:
props-
-
metricServerError
Metric for the number of server-side errors captured in a given period.Default: - sum over 5 minutes
- Specified by:
metricServerErrorin interfaceIHttpStage
-