@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:46.065Z") @Stability(value=Experimental) public class ProxyResource extends Resource
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-set-up-simple-proxy.html| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyResource.Builder
(experimental) A fluent builder for
ProxyResource. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
ProxyResource(software.constructs.Construct scope,
String id,
ProxyResourceProps props) |
protected |
ProxyResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ProxyResource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Method |
addMethod(String httpMethod)
(experimental) Defines a new method for this resource.
|
Method |
addMethod(String httpMethod,
Integration integration)
(experimental) Defines a new method for this resource.
|
Method |
addMethod(String httpMethod,
Integration integration,
MethodOptions options)
(experimental) Defines a new method for this resource.
|
Method |
getAnyMethod()
(experimental) If `props.anyMethod` is `true`, this will be the reference to the 'ANY' method associated with this proxy resource.
|
fromResourceAttributes, getApi, getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions, getParentResource, getPath, getResourceIdaddCorsPreflight, addProxy, addProxy, addResource, addResource, getResource, resourceForPathapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected ProxyResource(software.amazon.jsii.JsiiObjectRef objRef)
protected ProxyResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ProxyResource(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ProxyResourceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public Method addMethod(@NotNull String httpMethod, @Nullable Integration integration, @Nullable MethodOptions options)
addMethod in class ResourceBasehttpMethod - This parameter is required.integration - options - @Stability(value=Experimental) @NotNull public Method addMethod(@NotNull String httpMethod, @Nullable Integration integration)
addMethod in class ResourceBasehttpMethod - This parameter is required.integration - @Stability(value=Experimental) @NotNull public Method addMethod(@NotNull String httpMethod)
addMethod in class ResourceBasehttpMethod - This parameter is required.@Stability(value=Experimental) @Nullable public Method getAnyMethod()
Copyright © 2021. All rights reserved.