Class CfnMethodMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnMethodMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnMethodMixinProps
CfnMethodMixinProps-
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.cfnpropertymixins.services.apigateway.CfnMethodMixinProps
CfnMethodMixinProps.Builder, CfnMethodMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnMethodMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnMethodMixinProps.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 ObjectThe 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 ObjectThe identifier of a RequestValidator for request validation.final ObjectThe Resource identifier for the MethodResponse resource.final ObjectThe 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 theCfnMethodMixinProps.Builder.
-
-
Method Details
-
getApiKeyRequired
Description copied from interface:CfnMethodMixinPropsA boolean flag specifying whether a valid ApiKey is required to invoke this method.Returns union: either
BooleanorIResolvable- Specified by:
getApiKeyRequiredin interfaceCfnMethodMixinProps- See Also:
-
getAuthorizationScopes
Description copied from interface:CfnMethodMixinPropsA 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 interfaceCfnMethodMixinProps- See Also:
-
getAuthorizationType
Description copied from interface:CfnMethodMixinPropsThe 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 interfaceCfnMethodMixinProps- See Also:
-
getAuthorizerId
Description copied from interface:CfnMethodMixinPropsThe identifier of an authorizer to use on this method.The method's authorization type must be
CUSTOMorCOGNITO_USER_POOLS.Returns union: either
StringorIAuthorizerRef- Specified by:
getAuthorizerIdin interfaceCfnMethodMixinProps- See Also:
-
getHttpMethod
Description copied from interface:CfnMethodMixinPropsThe method's HTTP verb.- Specified by:
getHttpMethodin interfaceCfnMethodMixinProps- See Also:
-
getIntegration
Description copied from interface:CfnMethodMixinPropsRepresents anHTTP,HTTP_PROXY,AWS,AWS_PROXY, or Mock integration.Returns union: either
IResolvableorCfnMethodPropsMixin.IntegrationProperty- Specified by:
getIntegrationin interfaceCfnMethodMixinProps- See Also:
-
getMethodResponses
Description copied from interface:CfnMethodMixinPropsGets a method response associated with a given HTTP status code.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnMethodPropsMixin.MethodResponseProperty>- Specified by:
getMethodResponsesin interfaceCfnMethodMixinProps- See Also:
-
getOperationName
Description copied from interface:CfnMethodMixinPropsA human-friendly operation identifier for the method.For example, you can assign the
operationNameofListPetsfor theGET /petsmethod in thePetStoreexample.- Specified by:
getOperationNamein interfaceCfnMethodMixinProps- See Also:
-
getRequestModels
Description copied from interface:CfnMethodMixinPropsA 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 interfaceCfnMethodMixinProps- See Also:
-
getRequestParameters
Description copied from interface:CfnMethodMixinPropsA 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 interfaceCfnMethodMixinProps- See Also:
-
getRequestValidatorId
Description copied from interface:CfnMethodMixinPropsThe identifier of a RequestValidator for request validation.Returns union: either
StringorIRequestValidatorRef- Specified by:
getRequestValidatorIdin interfaceCfnMethodMixinProps- See Also:
-
getResourceId
Description copied from interface:CfnMethodMixinPropsThe Resource identifier for the MethodResponse resource.Returns union: either
StringorIResourceRef- Specified by:
getResourceIdin interfaceCfnMethodMixinProps- See Also:
-
getRestApiId
Description copied from interface:CfnMethodMixinPropsThe string identifier of the associated RestApi.Returns union: either
StringorIRestApiRef- Specified by:
getRestApiIdin interfaceCfnMethodMixinProps- 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()
-