Class CfnMethodProps.Jsii$Proxy
- All Implemented Interfaces:
CfnMethodProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnMethodProps
CfnMethodProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.CfnMethodProps
CfnMethodProps.Builder, CfnMethodProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnMethodProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnMethodProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Object
A boolean flag specifying whether a valid ApiKey is required to invoke this method.A list of authorization scopes configured on the method.final String
The method's authorization type.final String
The identifier of an authorizer to use on this method.final String
The method's HTTP verb.final Object
Represents anHTTP
,HTTP_PROXY
,AWS
,AWS_PROXY
, or Mock integration.final Object
Gets a method response associated with a given HTTP status code.final String
A human-friendly operation identifier for the method.final Object
A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).final Object
A key-value map defining required or optional method request parameters that can be accepted by API Gateway.final String
The identifier of a RequestValidator for request validation.final String
The Resource identifier for the MethodResponse resource.final String
The string identifier of the associated RestApi.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnMethodProps.Builder
.
-
-
Method Details
-
getHttpMethod
Description copied from interface:CfnMethodProps
The method's HTTP verb.- Specified by:
getHttpMethod
in interfaceCfnMethodProps
-
getResourceId
Description copied from interface:CfnMethodProps
The Resource identifier for the MethodResponse resource.- Specified by:
getResourceId
in interfaceCfnMethodProps
-
getRestApiId
Description copied from interface:CfnMethodProps
The string identifier of the associated RestApi.- Specified by:
getRestApiId
in interfaceCfnMethodProps
-
getApiKeyRequired
Description copied from interface:CfnMethodProps
A boolean flag specifying whether a valid ApiKey is required to invoke this method.- Specified by:
getApiKeyRequired
in interfaceCfnMethodProps
-
getAuthorizationScopes
Description copied from interface:CfnMethodProps
A list of authorization scopes configured on the method.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 matches 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.- Specified by:
getAuthorizationScopes
in interfaceCfnMethodProps
-
getAuthorizationType
Description copied from interface:CfnMethodProps
The method's authorization type.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.- Specified by:
getAuthorizationType
in interfaceCfnMethodProps
-
getAuthorizerId
Description copied from interface:CfnMethodProps
The identifier of an authorizer to use on this method.The method's authorization type must be
CUSTOM
orCOGNITO_USER_POOLS
.- Specified by:
getAuthorizerId
in interfaceCfnMethodProps
-
getIntegration
Description copied from interface:CfnMethodProps
Represents anHTTP
,HTTP_PROXY
,AWS
,AWS_PROXY
, or Mock integration.- Specified by:
getIntegration
in interfaceCfnMethodProps
-
getMethodResponses
Description copied from interface:CfnMethodProps
Gets a method response associated with a given HTTP status code.- Specified by:
getMethodResponses
in interfaceCfnMethodProps
-
getOperationName
Description copied from interface:CfnMethodProps
A human-friendly operation identifier for the method.For example, you can assign the
operationName
ofListPets
for theGET /pets
method in thePetStore
example.- Specified by:
getOperationName
in interfaceCfnMethodProps
-
getRequestModels
Description copied from interface:CfnMethodProps
A key-value map specifying data schemas, represented by Model resources, (as the mapped value) of the request payloads of given content types (as the mapping key).- Specified by:
getRequestModels
in interfaceCfnMethodProps
-
getRequestParameters
Description copied from interface:CfnMethodProps
A key-value map defining required or optional method request parameters that can be accepted by API Gateway.A key is a method request parameter name matching the pattern of
method.request.{location}.{name}
, wherelocation
isquerystring
,path
, orheader
andname
is a valid and unique parameter name. The value associated with the key is a Boolean flag indicating whether the parameter is required (true
) or optional (false
). The method request parameter names defined here are available in Integration to be mapped to integration request parameters or templates.- Specified by:
getRequestParameters
in interfaceCfnMethodProps
-
getRequestValidatorId
Description copied from interface:CfnMethodProps
The identifier of a RequestValidator for request validation.- Specified by:
getRequestValidatorId
in interfaceCfnMethodProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-