Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s3: bucket replication #1680

Open
eladb opened this issue Feb 5, 2019 · 13 comments · May be fixed by #30966
Open

s3: bucket replication #1680

eladb opened this issue Feb 5, 2019 · 13 comments · May be fixed by #30966
Assignees
Labels
@aws-cdk/aws-s3 Related to Amazon S3 effort/small Small work item – less than a day of effort feature/coverage-gap Gaps in CloudFormation coverage by L2 constructs feature-request A feature should be added or improved. p1

Comments

@eladb
Copy link
Contributor

eladb commented Feb 5, 2019

PR #184 has some initial work around S3 bucket replication

@eladb eladb added feature-request A feature should be added or improved. @aws-cdk/aws-s3 Related to Amazon S3 labels Feb 5, 2019
@eladb eladb assigned eladb and unassigned eladb Aug 12, 2019
@kadishmal
Copy link

Is the bucket replication planned in the near future?

@pierreis
Copy link

pierreis commented Sep 3, 2019

Would be great to see this landing in CDK.

@hleb-albau
Copy link

Any progress on issue?

@eladb eladb assigned iliapolo and unassigned eladb Jan 22, 2020
@iliapolo iliapolo added the effort/medium Medium work item – several days of effort label Mar 9, 2020
@mvanzanten
Copy link

Also running into the same issue, any update?

@denissimonovski
Copy link

Also running into the same issue. Any progress on this?

@mugfordsfcc
Copy link

Blocked we had to do a work around for our client for this. Please update.

@UnbiasedGoat
Copy link

UnbiasedGoat commented Jul 2, 2020

Also really need this, another upvote for priority :)

@mulvaney
Copy link

We could really use this too, cross-region replication is a requirement for us

@iliapolo iliapolo added the p2 label Aug 29, 2020
@techcoderunner
Copy link

We used heavily cdk for development and this is one of the core feature requiremet most of the people has. Another upvote for priority

@jpSimkins
Copy link

Need replication for cross accounts.

@jpSimkins
Copy link

I was able to use CfnBucket to have cross account replication. It seems like this may be possible for other scenarios too. Docs are not that helpful (many props were not needed and there is no explanation of what props are needed for what replication type) but I was able to get it working.

@cmorgia
Copy link

cmorgia commented Apr 10, 2021

Planning to heavily use replication, any update on this issue?

@ericzbeard ericzbeard added the feature/coverage-gap Gaps in CloudFormation coverage by L2 constructs label Apr 20, 2021
@af-tomwilkins
Copy link

Would be great to have this available on the high level Bucket construct. In the meantime, creating a subclass will let you to retain the benefits of the Bucket construct while adding support for replicationConfiguration via the underlying CfnBucket, as below:

import { Construct } from '@aws-cdk/core';
import { Bucket, BucketProps, CfnBucket, CfnBucketProps } from '@aws-cdk/aws-s3';

export class BucketWithReplication extends Bucket {
  constructor(
    scope: Construct,
    id: string,
    props: BucketProps & Required<Pick<CfnBucketProps, 'replicationConfiguration'>>
  ) {
    const { replicationConfiguration, ...bucketProps } = props;
    super(scope, id, bucketProps);
    (this.node.defaultChild as CfnBucket).replicationConfiguration = replicationConfiguration;
  }
}

@iliapolo iliapolo removed their assignment Jun 27, 2021
@rix0rrr rix0rrr added p1 and removed p2 labels Mar 16, 2022
@TheRealAmazonKendra TheRealAmazonKendra added effort/small Small work item – less than a day of effort and removed effort/medium Medium work item – several days of effort labels Jan 24, 2023
@vinayak-kukreja vinayak-kukreja self-assigned this Apr 14, 2023
@vinayak-kukreja vinayak-kukreja removed their assignment Jul 3, 2023
@colifran colifran self-assigned this Jul 13, 2023
@vinayak-kukreja vinayak-kukreja self-assigned this Oct 9, 2023
@badmintoncryer badmintoncryer linked a pull request Jul 28, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-s3 Related to Amazon S3 effort/small Small work item – less than a day of effort feature/coverage-gap Gaps in CloudFormation coverage by L2 constructs feature-request A feature should be added or improved. p1
Projects
None yet
Development

Successfully merging a pull request may close this issue.