public static final class CfnMethodProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMethodProps
CfnMethodProps
CfnMethodProps.Builder, CfnMethodProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getApiKeyRequired()
Indicates whether the method requires clients to submit a valid API key.
|
java.util.List<java.lang.String> |
getAuthorizationScopes()
A list of authorization scopes configured on the method.
|
java.lang.String |
getAuthorizationType()
The method's authorization type.
|
java.lang.String |
getAuthorizerId()
The identifier of the [authorizer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html) to use on this method.
|
java.lang.String |
getHttpMethod()
The HTTP method that clients use to call this method.
|
java.lang.Object |
getIntegration()
The backend system that the method calls when it receives a request.
|
java.lang.Object |
getMethodResponses()
The responses that can be sent to the client who calls the method.
|
java.lang.String |
getOperationName()
A friendly operation name for the method.
|
java.lang.Object |
getRequestModels()
The resources that are used for the request's content type.
|
java.lang.Object |
getRequestParameters()
The request parameters that API Gateway accepts.
|
java.lang.String |
getRequestValidatorId()
The ID of the associated request validator.
|
java.lang.String |
getResourceId()
The ID of an API Gateway [resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html) .
|
java.lang.String |
getRestApiId()
The ID of the [RestApi](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html) resource in which API Gateway creates the method.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getHttpMethod()
CfnMethodProps
getHttpMethod
in interface CfnMethodProps
public final java.lang.String getResourceId()
CfnMethodProps
getResourceId
in interface CfnMethodProps
public final java.lang.String getRestApiId()
CfnMethodProps
getRestApiId
in interface CfnMethodProps
public final java.lang.Object getApiKeyRequired()
CfnMethodProps
getApiKeyRequired
in interface CfnMethodProps
public final java.util.List<java.lang.String> getAuthorizationScopes()
CfnMethodProps
The scopes are used with a COGNITO_USER_POOLS
authorizer to authorize the method invocation. The authorization works by matching the method scopes against the scopes parsed from the access token in the incoming request. The method invocation is authorized if any method scopes match a claimed scope in the access token. Otherwise, the invocation is not authorized. When the method scope is configured, the client must provide an access token instead of an identity token for authorization purposes.
getAuthorizationScopes
in interface CfnMethodProps
public final java.lang.String getAuthorizationType()
CfnMethodProps
This parameter is required. For valid values, see Method in the API Gateway API Reference .
If you specify the
AuthorizerId
property, specifyCUSTOM
orCOGNITO_USER_POOLS
for this property.
getAuthorizationType
in interface CfnMethodProps
public final java.lang.String getAuthorizerId()
CfnMethodProps
getAuthorizerId
in interface CfnMethodProps
public final java.lang.Object getIntegration()
CfnMethodProps
getIntegration
in interface CfnMethodProps
public final java.lang.Object getMethodResponses()
CfnMethodProps
getMethodResponses
in interface CfnMethodProps
public final java.lang.String getOperationName()
CfnMethodProps
For example, you can assign the OperationName
of ListPets
for the GET /pets
method.
getOperationName
in interface CfnMethodProps
public final java.lang.Object getRequestModels()
CfnMethodProps
Specify request models as key-value pairs (string-to-string mapping), with a content type as the key and a Model
resource name as the value. To use the same model regardless of the content type, specify $default
as the key.
getRequestModels
in interface CfnMethodProps
public final java.lang.Object getRequestParameters()
CfnMethodProps
Specify request parameters as key-value pairs (string-to-Boolean mapping), with a source as the key and a Boolean as the value. The Boolean specifies whether a parameter is required. A source must match the format method.request. *location* . *name*
, where the location is querystring, path, or header, and name is a valid, unique parameter name.
getRequestParameters
in interface CfnMethodProps
public final java.lang.String getRequestValidatorId()
CfnMethodProps
getRequestValidatorId
in interface CfnMethodProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()