Type Alias S3ObjectLambdaEvent
S3ObjectLambdaEvent: {
configuration: {
accessPointArn: string;
payload: string | {};
supportingAccessPointArn: string;
};
getObjectContext: {
inputS3Url: string;
outputRoute: string;
outputToken: string;
};
protocolVersion: string;
userIdentity: {
accessKeyId: string;
accountId: string;
arn: string;
principalId: string;
sessionContext?: {
attributes: { creationDate: string; mfaAuthenticated: boolean };
sessionIssuer: {
accountId: string;
arn: string;
principalId: string;
type: string;
userName?: string;
};
};
type: string;
userName?: string;
};
userRequest: { headers: Record<string, string>; url: string };
xAmzRequestId: string;
}
Type declaration
configuration: {
accessPointArn: string;
payload: string | {};
supportingAccessPointArn: string;
}
getObjectContext: { inputS3Url: string; outputRoute: string; outputToken: string }
protocolVersion: string
userIdentity: {
accessKeyId: string;
accountId: string;
arn: string;
principalId: string;
sessionContext?: {
attributes: { creationDate: string; mfaAuthenticated: boolean };
sessionIssuer: {
accountId: string;
arn: string;
principalId: string;
type: string;
userName?: string;
};
};
type: string;
userName?: string;
}
userRequest: { headers: Record<string, string>; url: string }
xAmzRequestId: string
Zod schema for S3 IAM Access Point Lambda event notification.