Class IResource.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigateway.IResource.Jsii$Proxy
- All Implemented Interfaces:
IResourceRef,IResourceRef.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IResource
@Internal
public static final class IResource.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements IResource.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
-
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.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.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.apigateway.IResourceRef
IResourceRef.Jsii$Default, IResourceRef.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal MethodDefines a new method for this resource.final MethodaddMethod(String httpMethod, Integration target) Defines a new method for this resource.final ProxyResourceaddProxy()Adds a greedy proxy resource ("{proxy+}") and an ANY method to this route.final ResourceaddResource(String pathPart) Defines a new child resource where this resource is the parent.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.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.services.apigateway.IResource.Jsii$Default
addCorsPreflight, addMethod, addProxy, addResource, getApi, getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions, getParentResource, getPath, getResource, getResourceId, resourceForPathMethods inherited from interface software.amazon.awscdk.interfaces.apigateway.IResourceRef.Jsii$Default
getResourceRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
addMethod
@Stability(Stable) @NotNull public final Method addMethod(@NotNull String httpMethod, @Nullable Integration target) Defines a new method for this resource.- Specified by:
addMethodin interfaceIResource- Specified by:
addMethodin interfaceIResource.Jsii$Default- Parameters:
httpMethod- The HTTP method. This parameter is required.target- The target backend integration for this method.- Returns:
- The newly created
Methodobject.
-
addMethod
Defines a new method for this resource.- Specified by:
addMethodin interfaceIResource- Specified by:
addMethodin interfaceIResource.Jsii$Default- Parameters:
httpMethod- The HTTP method. This parameter is required.- Returns:
- The newly created
Methodobject.
-
addProxy
Adds a greedy proxy resource ("{proxy+}") and an ANY method to this route.- Specified by:
addProxyin interfaceIResource- Specified by:
addProxyin interfaceIResource.Jsii$Default
-
addResource
Defines a new child resource where this resource is the parent.- Specified by:
addResourcein interfaceIResource- Specified by:
addResourcein interfaceIResource.Jsii$Default- Parameters:
pathPart- The path part for the child resource. This parameter is required.- Returns:
- A Resource object
-