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.
  • 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:
      addMethod in interface IResource
      Specified by:
      addMethod in interface IResource.Jsii$Default
      Parameters:
      httpMethod - The HTTP method. This parameter is required.
      target - The target backend integration for this method.
      Returns:
      The newly created Method object.
    • addMethod

      @Stability(Stable) @NotNull public final Method addMethod(@NotNull String httpMethod)
      Defines a new method for this resource.

      Specified by:
      addMethod in interface IResource
      Specified by:
      addMethod in interface IResource.Jsii$Default
      Parameters:
      httpMethod - The HTTP method. This parameter is required.
      Returns:
      The newly created Method object.
    • addProxy

      @Stability(Stable) @NotNull public final ProxyResource addProxy()
      Adds a greedy proxy resource ("{proxy+}") and an ANY method to this route.
      Specified by:
      addProxy in interface IResource
      Specified by:
      addProxy in interface IResource.Jsii$Default
    • addResource

      @Stability(Stable) @NotNull public final Resource addResource(@NotNull String pathPart)
      Defines a new child resource where this resource is the parent.

      Specified by:
      addResource in interface IResource
      Specified by:
      addResource in interface IResource.Jsii$Default
      Parameters:
      pathPart - The path part for the child resource. This parameter is required.
      Returns:
      A Resource object