Interface IRestApi.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,IRestApi,IRestApiRef,IRestApiRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IRestApi.Jsii$Proxy
- Enclosing interface:
IRestApi
@Internal
public static interface IRestApi.Jsii$Default
extends IRestApi, IResource.Jsii$Default, IRestApiRef.Jsii$Default
Internal default implementation for
IRestApi.-
Nested Class Summary
Nested 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.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.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.apigateway.IRestApi
IRestApi.Jsii$Default, IRestApi.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.apigateway.IRestApiRef
IRestApiRef.Jsii$Default, IRestApiRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault StringGets the "execute-api" ARN.default StringarnForExecuteApi(String method) Gets the "execute-api" ARN.default StringarnForExecuteApi(String method, String path) Gets the "execute-api" ARN.default StringarnForExecuteApi(String method, String path, String stage) Gets the "execute-api" ARN.default StageAPI Gateway stage that points to the latest deployment (if defined).default DeploymentAPI Gateway deployment that represents the latest changes of the API.default StringThe ID of this API Gateway RestApi.default StringThe name of this API Gateway RestApi.default StringThe resource ID of the root resource.default IResourcegetRoot()Represents the root resource ("/") of this API.default voidsetDeploymentStage(Stage value) API Gateway stage that points to the latest deployment (if defined).Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.apigateway.IRestApiRef.Jsii$Default
getRestApiRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestApiId
The ID of this API Gateway RestApi.- Specified by:
getRestApiIdin interfaceIRestApi
-
getRestApiName
The name of this API Gateway RestApi.- Specified by:
getRestApiNamein interfaceIRestApi
-
getRestApiRootResourceId
The resource ID of the root resource.- Specified by:
getRestApiRootResourceIdin interfaceIRestApi
-
getRoot
Represents the root resource ("/") of this API. Use it to define the API model:.api.root.addMethod('ANY', redirectToHomePage); // "ANY /" api.root.addResource('friends').addMethod('GET', getFriendsHandler); // "GET /friends"
-
getLatestDeployment
API Gateway deployment that represents the latest changes of the API.This resource will be automatically updated every time the REST API model changes.
undefinedwhen no deployment is configured.- Specified by:
getLatestDeploymentin interfaceIRestApi
-
getDeploymentStage
API Gateway stage that points to the latest deployment (if defined).- Specified by:
getDeploymentStagein interfaceIRestApi
-
setDeploymentStage
API Gateway stage that points to the latest deployment (if defined).- Specified by:
setDeploymentStagein interfaceIRestApi
-
arnForExecuteApi
@Stability(Stable) @NotNull default String arnForExecuteApi(@Nullable String method, @Nullable String path, @Nullable String stage) Gets the "execute-api" ARN.Default: "*" returns the execute API ARN for all methods/resources in this API.
- Specified by:
arnForExecuteApiin interfaceIRestApi- Parameters:
method- The method (default*).path- The resource path.stage- The stage (default*).- Returns:
- The "execute-api" ARN.
-
arnForExecuteApi
@Stability(Stable) @NotNull default String arnForExecuteApi(@Nullable String method, @Nullable String path) Gets the "execute-api" ARN.Default: "*" returns the execute API ARN for all methods/resources in this API.
- Specified by:
arnForExecuteApiin interfaceIRestApi- Parameters:
method- The method (default*).path- The resource path.- Returns:
- The "execute-api" ARN.
-
arnForExecuteApi
Gets the "execute-api" ARN.Default: "*" returns the execute API ARN for all methods/resources in this API.
- Specified by:
arnForExecuteApiin interfaceIRestApi- Parameters:
method- The method (default*).- Returns:
- The "execute-api" ARN.
-
arnForExecuteApi
Gets the "execute-api" ARN.Default: "*" returns the execute API ARN for all methods/resources in this API.
- Specified by:
arnForExecuteApiin interfaceIRestApi- Returns:
- The "execute-api" ARN.
-