public static final class RequestContext.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RequestContext
RequestContext
RequestContext.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getAccountId()
Represents the information of $context.identity.accountId.
|
java.lang.Boolean |
getApiId()
Represents the information of $context.apiId.
|
java.lang.Boolean |
getApiKey()
Represents the information of $context.identity.apiKey.
|
java.lang.Boolean |
getAuthorizerPrincipalId()
Represents the information of $context.authorizer.principalId.
|
java.lang.Boolean |
getCaller()
Represents the information of $context.identity.caller.
|
java.lang.Boolean |
getCognitoAuthenticationProvider()
Represents the information of $context.identity.cognitoAuthenticationProvider.
|
java.lang.Boolean |
getCognitoAuthenticationType()
Represents the information of $context.identity.cognitoAuthenticationType.
|
java.lang.Boolean |
getCognitoIdentityId()
Represents the information of $context.identity.cognitoIdentityId.
|
java.lang.Boolean |
getCognitoIdentityPoolId()
Represents the information of $context.identity.cognitoIdentityPoolId.
|
java.lang.Boolean |
getHttpMethod()
Represents the information of $context.httpMethod.
|
java.lang.Boolean |
getRequestId()
Represents the information of $context.requestId.
|
java.lang.Boolean |
getResourceId()
Represents the information of $context.resourceId.
|
java.lang.Boolean |
getResourcePath()
Represents the information of $context.resourcePath.
|
java.lang.Boolean |
getSourceIp()
Represents the information of $context.identity.sourceIp.
|
java.lang.Boolean |
getStage()
Represents the information of $context.stage.
|
java.lang.Boolean |
getUser()
Represents the information of $context.identity.user.
|
java.lang.Boolean |
getUserAgent()
Represents the information of $context.identity.userAgent.
|
java.lang.Boolean |
getUserArn()
Represents the information of $context.identity.userArn.
|
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.Boolean getAccountId()
RequestContext
Whether the AWS account of the API owner should be included in the request context
Default: false
getAccountId
in interface RequestContext
public final java.lang.Boolean getApiId()
RequestContext
Whether the identifier API Gateway assigns to your API should be included in the request context.
Default: false
getApiId
in interface RequestContext
public final java.lang.Boolean getApiKey()
RequestContext
Whether the API key associated with the request should be included in request context.
Default: false
getApiKey
in interface RequestContext
public final java.lang.Boolean getAuthorizerPrincipalId()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getCaller()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getCognitoAuthenticationProvider()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getCognitoAuthenticationType()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getCognitoIdentityId()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getCognitoIdentityPoolId()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getHttpMethod()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getRequestId()
RequestContext
Whether the ID for the request should be included in the request context.
Default: false
getRequestId
in interface RequestContext
public final java.lang.Boolean getResourceId()
RequestContext
Whether the identifier that API Gateway assigns to your resource should be included in the request context.
Default: false
getResourceId
in interface RequestContext
public final java.lang.Boolean getResourcePath()
RequestContext
Whether the path to the resource should be included in the request context.
Default: false
getResourcePath
in interface RequestContext
public final java.lang.Boolean getSourceIp()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getStage()
RequestContext
Whether the deployment stage of the API request should be included in the request context.
Default: false
getStage
in interface RequestContext
public final java.lang.Boolean getUser()
RequestContext
Whether 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 RequestContext
public final java.lang.Boolean getUserAgent()
RequestContext
Whether the User-Agent header of the API caller should be included in the request context.
Default: false
getUserAgent
in interface RequestContext
public final java.lang.Boolean getUserArn()
RequestContext
Whether 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()