Skip to content

ExportJob

Source: src/AWS/BackupSearch/ExportJob.ts

An AWS Backup Search export job — transmits the results of a completed search job to a designated S3 bucket as a .csv file, retaining them beyond the search job’s seven-day retention. An export job is immutable once started and cannot be stopped or deleted; its record ages out server-side.

const exportJob = yield* BackupSearch.ExportJob("Results", {
searchJobIdentifier: search.searchJobIdentifier,
exportSpecification: {
s3ExportSpecification: {
destinationBucket: bucket.bucketName,
destinationPrefix: "backup-search-results/",
},
},
roleArn: role.roleArn,
});