interface S3EventRecord {
    awsRegion: string;
    eventName: string;
    eventSource: string;
    eventTime: string;
    eventVersion: string;
    glacierEventData?: {
        restoreEventData: {
            lifecycleRestorationExpiryTime: string;
            lifecycleRestoreStorageClass: string;
        };
    };
    requestParameters: {
        sourceIPAddress: string;
    };
    responseElements: {
        x-amz-id-2: string;
        x-amz-request-id: string;
    };
    s3: {
        bucket: {
            arn: string;
            name: string;
            ownerIdentity: {
                principalId: string;
            };
        };
        configurationId: string;
        object: {
            eTag: string;
            key: string;
            sequencer: string;
            size: number;
            versionId?: string;
        };
        s3SchemaVersion: string;
    };
    userIdentity: {
        principalId: string;
    };
}

Properties

awsRegion: string
eventName: string
eventSource: string
eventTime: string
eventVersion: string
glacierEventData?: {
    restoreEventData: {
        lifecycleRestorationExpiryTime: string;
        lifecycleRestoreStorageClass: string;
    };
}

Type declaration

  • restoreEventData: {
        lifecycleRestorationExpiryTime: string;
        lifecycleRestoreStorageClass: string;
    }
    • lifecycleRestorationExpiryTime: string
    • lifecycleRestoreStorageClass: string
requestParameters: {
    sourceIPAddress: string;
}

Type declaration

  • sourceIPAddress: string
responseElements: {
    x-amz-id-2: string;
    x-amz-request-id: string;
}

Type declaration

  • x-amz-id-2: string
  • x-amz-request-id: string
s3: {
    bucket: {
        arn: string;
        name: string;
        ownerIdentity: {
            principalId: string;
        };
    };
    configurationId: string;
    object: {
        eTag: string;
        key: string;
        sequencer: string;
        size: number;
        versionId?: string;
    };
    s3SchemaVersion: string;
}

Type declaration

  • bucket: {
        arn: string;
        name: string;
        ownerIdentity: {
            principalId: string;
        };
    }
    • arn: string
    • name: string
    • ownerIdentity: {
          principalId: string;
      }
      • principalId: string
  • configurationId: string
  • object: {
        eTag: string;
        key: string;
        sequencer: string;
        size: number;
        versionId?: string;
    }
    • eTag: string
    • key: string
    • sequencer: string
    • size: number
    • Optional versionId?: string
  • s3SchemaVersion: string
userIdentity: {
    principalId: string;
}

Type declaration

  • principalId: string

Generated using TypeDoc