@Stability(value=Stable) @Internal public static final class RequestContext.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RequestContext
RequestContextsoftware.amazon.jsii.JsiiObject.InitializationModeRequestContext.Builder, RequestContext.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.
|
protected |
Jsii$Proxy(RequestContext.Builder builder)
Constructor that initializes the object based on literal property values passed by the
RequestContext.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAccountId()
Represents the information of $context.identity.accountId.
|
Boolean |
getApiId()
Represents the information of $context.apiId.
|
Boolean |
getApiKey()
Represents the information of $context.identity.apiKey.
|
Boolean |
getAuthorizerPrincipalId()
Represents the information of $context.authorizer.principalId.
|
Boolean |
getCaller()
Represents the information of $context.identity.caller.
|
Boolean |
getCognitoAuthenticationProvider()
Represents the information of $context.identity.cognitoAuthenticationProvider.
|
Boolean |
getCognitoAuthenticationType()
Represents the information of $context.identity.cognitoAuthenticationType.
|
Boolean |
getCognitoIdentityId()
Represents the information of $context.identity.cognitoIdentityId.
|
Boolean |
getCognitoIdentityPoolId()
Represents the information of $context.identity.cognitoIdentityPoolId.
|
Boolean |
getHttpMethod()
Represents the information of $context.httpMethod.
|
Boolean |
getRequestId()
Represents the information of $context.requestId.
|
Boolean |
getResourceId()
Represents the information of $context.resourceId.
|
Boolean |
getResourcePath()
Represents the information of $context.resourcePath.
|
Boolean |
getSourceIp()
Represents the information of $context.identity.sourceIp.
|
Boolean |
getStage()
Represents the information of $context.stage.
|
Boolean |
getUser()
Represents the information of $context.identity.user.
|
Boolean |
getUserAgent()
Represents the information of $context.identity.userAgent.
|
Boolean |
getUserArn()
Represents the information of $context.identity.userArn.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(RequestContext.Builder builder)
RequestContext.Builder.public final Boolean getAccountId()
RequestContextWhether the AWS account of the API owner should be included in the request context
Default: false
getAccountId in interface RequestContextpublic final Boolean getApiId()
RequestContextWhether the identifier API Gateway assigns to your API should be included in the request context.
Default: false
getApiId in interface RequestContextpublic final Boolean getApiKey()
RequestContextWhether the API key associated with the request should be included in request context.
Default: false
getApiKey in interface RequestContextpublic final Boolean getAuthorizerPrincipalId()
RequestContextWhether the principal user identifier associated with the token sent by the client and returned from an API Gateway Lambda authorizer should be included in the request context.
Default: false
getAuthorizerPrincipalId in interface RequestContextpublic final Boolean getCaller()
RequestContextWhether the principal identifier of the caller that signed the request should be included in the request context. Supported for resources that use IAM authorization.
Default: false
getCaller in interface RequestContextpublic final Boolean getCognitoAuthenticationProvider()
RequestContextWhether the list of the Amazon Cognito authentication providers used by the caller making the request should be included in the request context. Available only if the request was signed with Amazon Cognito credentials.
Default: false
getCognitoAuthenticationProvider in interface RequestContextpublic final Boolean getCognitoAuthenticationType()
RequestContextWhether the Amazon Cognito authentication type of the caller making the request should be included in the request context. Available only if the request was signed with Amazon Cognito credentials. Possible values include authenticated for authenticated identities and unauthenticated for unauthenticated identities.
Default: false
getCognitoAuthenticationType in interface RequestContextpublic final Boolean getCognitoIdentityId()
RequestContextWhether the Amazon Cognito identity ID of the caller making the request should be included in the request context. Available only if the request was signed with Amazon Cognito credentials.
Default: false
getCognitoIdentityId in interface RequestContextpublic final Boolean getCognitoIdentityPoolId()
RequestContextWhether the Amazon Cognito identity pool ID of the caller making the request should be included in the request context. Available only if the request was signed with Amazon Cognito credentials.
Default: false
getCognitoIdentityPoolId in interface RequestContextpublic final Boolean getHttpMethod()
RequestContextWhether the HTTP method used should be included in the request context. Valid values include: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
Default: false
getHttpMethod in interface RequestContextpublic final Boolean getRequestId()
RequestContextWhether the ID for the request should be included in the request context.
Default: false
getRequestId in interface RequestContextpublic final Boolean getResourceId()
RequestContextWhether the identifier that API Gateway assigns to your resource should be included in the request context.
Default: false
getResourceId in interface RequestContextpublic final Boolean getResourcePath()
RequestContextWhether the path to the resource should be included in the request context.
Default: false
getResourcePath in interface RequestContextpublic final Boolean getSourceIp()
RequestContextWhether the source IP address of the immediate TCP connection making the request to API Gateway endpoint should be included in the request context.
Default: false
getSourceIp in interface RequestContextpublic final Boolean getStage()
RequestContextWhether the deployment stage of the API request should be included in the request context.
Default: false
getStage in interface RequestContextpublic final Boolean getUser()
RequestContextWhether the principal identifier of the user that will be authorized should be included in the request context. Supported for resources that use IAM authorization.
Default: false
getUser in interface RequestContextpublic final Boolean getUserAgent()
RequestContextWhether the User-Agent header of the API caller should be included in the request context.
Default: false
getUserAgent in interface RequestContextpublic final Boolean getUserArn()
RequestContextWhether the Amazon Resource Name (ARN) of the effective user identified after authentication should be included in the request context.
Default: false
getUserArn in interface RequestContext@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.