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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.apigateway.CfnMethodProps
CfnMethodProps.Builder, CfnMethodProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnMethodProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnMethodProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectA boolean flag specifying whether a valid ApiKey is required to invoke this method.A list of authorization scopes configured on the method.final StringThe method's authorization type.final StringThe identifier of an authorizer to use on this method.final StringThe method's HTTP verb.final ObjectRepresents anHTTP,HTTP_PROXY,AWS,AWS_PROXY, or Mock integration.final ObjectGets a method response associated with a given HTTP status code.final StringA human-friendly operation identifier for the method.final ObjectA 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 ObjectA key-value map defining required or optional method request parameters that can be accepted by API Gateway.final StringThe identifier of a RequestValidator for request validation.final StringThe Resource identifier for the MethodResponse resource.final StringThe string identifier of the associated RestApi.final inthashCode()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:CfnMethodPropsThe method's HTTP verb.- Specified by:
getHttpMethodin interfaceCfnMethodProps- See Also:
-
getResourceId
Description copied from interface:CfnMethodPropsThe Resource identifier for the MethodResponse resource.- Specified by:
getResourceIdin interfaceCfnMethodProps- See Also:
-
getRestApiId
Description copied from interface:CfnMethodPropsThe string identifier of the associated RestApi.- Specified by:
getRestApiIdin interfaceCfnMethodProps- See Also:
-
getApiKeyRequired
Description copied from interface:CfnMethodPropsA boolean flag specifying whether a valid ApiKey is required to invoke this method.Returns union: either
BooleanorIResolvable- Specified by:
getApiKeyRequiredin interfaceCfnMethodProps- See Also:
-
getAuthorizationScopes
Description copied from interface:CfnMethodPropsA list of authorization scopes configured on the method.The scopes are used with a
COGNITO_USER_POOLSauthorizer 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:
getAuthorizationScopesin interfaceCfnMethodProps- See Also:
-
getAuthorizationType
Description copied from interface:CfnMethodPropsThe method's authorization type.This parameter is required. For valid values, see Method in the API Gateway API Reference .
If you specify the
AuthorizerIdproperty, specifyCUSTOMorCOGNITO_USER_POOLSfor this property.- Specified by:
getAuthorizationTypein interfaceCfnMethodProps- See Also:
-
getAuthorizerId
Description copied from interface:CfnMethodPropsThe identifier of an authorizer to use on this method.The method's authorization type must be
CUSTOMorCOGNITO_USER_POOLS.- Specified by:
getAuthorizerIdin interfaceCfnMethodProps- See Also:
-
getIntegration
Description copied from interface:CfnMethodPropsRepresents anHTTP,HTTP_PROXY,AWS,AWS_PROXY, or Mock integration.Returns union: either
IResolvableorCfnMethod.IntegrationProperty- Specified by:
getIntegrationin interfaceCfnMethodProps- See Also:
-
getMethodResponses
Description copied from interface:CfnMethodPropsGets a method response associated with a given HTTP status code.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMethod.MethodResponseProperty>- Specified by:
getMethodResponsesin interfaceCfnMethodProps- See Also:
-
getOperationName
Description copied from interface:CfnMethodPropsA human-friendly operation identifier for the method.For example, you can assign the
operationNameofListPetsfor theGET /petsmethod in thePetStoreexample.- Specified by:
getOperationNamein interfaceCfnMethodProps- See Also:
-
getRequestModels
Description copied from interface:CfnMethodPropsA 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).Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- Specified by:
getRequestModelsin interfaceCfnMethodProps- See Also:
-
getRequestParameters
Description copied from interface:CfnMethodPropsA 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}, wherelocationisquerystring,path, orheaderandnameis 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.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherBooleanorIResolvable>- Specified by:
getRequestParametersin interfaceCfnMethodProps- See Also:
-
getRequestValidatorId
Description copied from interface:CfnMethodPropsThe identifier of a RequestValidator for request validation.- Specified by:
getRequestValidatorIdin interfaceCfnMethodProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-