Construction properties for an S3 Bucket replication.

Hierarchy

  • BucketReplicationProps

Properties

acceleratorPrefix: string

Accelerator prefix, defaults to 'AWSAccelerator'

destination: {
    accountId: string;
    bucketName: string;
    keyArn?: string;
}

Type declaration

  • accountId: string

    Destination bucket account Id

  • bucketName: string

    Destination bucket name

  • Optional keyArn?: string

    Destination bucket key arn

kmsKey?: IKey

Custom resource lambda log group encryption key, when undefined default AWS managed key will be used

logRetentionInDays: number

Custom resource lambda log retention in days

source?: {
    bucket?: IBucket;
    bucketName?: string;
    prefix?: string;
}

Type declaration

  • Optional bucket?: IBucket

    Source bucket object

    Source bucket object is must when source bucket name wasn't provided

  • Optional bucketName?: string

    Source bucket name

    Source bucket name is must when source bucket object wasn't provided

  • Optional prefix?: string

    Filter to limit the scope of this rule to a single prefix.

useExistingRoles: boolean

Use existing IAM resources

Generated using TypeDoc