diff --git a/provider/cmd/pulumi-resource-aws/schema.json b/provider/cmd/pulumi-resource-aws/schema.json
index 433c2495f42..63a71f4ab06 100644
--- a/provider/cmd/pulumi-resource-aws/schema.json
+++ b/provider/cmd/pulumi-resource-aws/schema.json
@@ -352139,7 +352139,7 @@
"items": {
"$ref": "#/types/aws:s3/BucketReplicationConfigRule:BucketReplicationConfigRule"
},
- "description": "List of configuration blocks describing the rules managing the replication. See below.\n"
+ "description": "List of configuration blocks describing the rules managing the replication. See below.\n\u003e **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.\n\n\u003e **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.\n\n\u003e **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.\nTo replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.\n"
},
"token": {
"type": "string",
@@ -352167,7 +352167,7 @@
"items": {
"$ref": "#/types/aws:s3/BucketReplicationConfigRule:BucketReplicationConfigRule"
},
- "description": "List of configuration blocks describing the rules managing the replication. See below.\n"
+ "description": "List of configuration blocks describing the rules managing the replication. See below.\n\u003e **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.\n\n\u003e **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.\n\n\u003e **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.\nTo replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.\n"
},
"token": {
"type": "string",
@@ -352197,7 +352197,7 @@
"items": {
"$ref": "#/types/aws:s3/BucketReplicationConfigRule:BucketReplicationConfigRule"
},
- "description": "List of configuration blocks describing the rules managing the replication. See below.\n"
+ "description": "List of configuration blocks describing the rules managing the replication. See below.\n\u003e **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.\n\n\u003e **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.\n\n\u003e **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.\nTo replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.\n"
},
"token": {
"type": "string",
diff --git a/provider/doc_edits.go b/provider/doc_edits.go
index fe2017a66d1..9267a298858 100644
--- a/provider/doc_edits.go
+++ b/provider/doc_edits.go
@@ -29,6 +29,7 @@ func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit {
fixUpCloudFrontPublicKey,
fixUpEcsServiceNameTrigger,
fixUpEcsServiceNameForceNewDeployment,
+ fixUpBucketReplicationConfig,
// This fixes up strings such as:
//
// name = "terraform-kinesis-firehose-os",
@@ -68,7 +69,7 @@ func editRules(defaults []tfbridge.DocsEdit) []tfbridge.DocsEdit {
" `pulumi up --refresh`."+
" See [#4766](https://github.com/pulumi/pulumi-aws/issues/4766)"+
" for tracking making this work with regular `pulumi up`"),
-
+
targetedSimpleReplace("iam_policy_attachment.html.markdown", "Terraform", "Pulumi"),
)
}
@@ -108,6 +109,26 @@ func targetedSimpleReplace(filePath, from, to string) tfbridge.DocsEdit {
}
}
+func targetedReplace(filePath, from, to string) tfbridge.DocsEdit {
+ fromBytes, toBytes := []byte(from), []byte(to)
+ return tfbridge.DocsEdit{
+ Path: filePath,
+ Edit: func(_ string, content []byte) ([]byte, error) {
+ if bytes.Contains(content, fromBytes) {
+ content = bytes.ReplaceAll(
+ content,
+ fromBytes,
+ toBytes)
+ } else {
+ // Hard error to ensure we keep this content up to date
+ return nil, fmt.Errorf("could not find text in upstream %s, "+
+ "please verify replace content in doc_edits.go: %s", filePath, string(fromBytes))
+ }
+ return content, nil
+ },
+ }
+}
+
var fixUpCloudFrontPublicKey = targetedSimpleReplace("cloudfront_public_key.html.markdown",
"* `name` - (Optional) The name for the public key. By default generated by this provider.",
"* `name` - (Optional) The name for the public key. By default generated by this provider. "+
@@ -134,6 +155,55 @@ var fixUpEcsServiceNameForceNewDeployment = targetedSimpleReplace(
"(e.g., `myimage:latest`), roll Fargate tasks onto a newer platform version, or immediately deploy "+
"`ordered_placement_strategy` and `placement_constraints` updates.\n"+
"When using the forceNewDeployment property you also need to configure the triggers property.\n")
+var fixUpBucketReplicationConfig = tfbridge.DocsEdit{
+ Path: "s3_bucket_replication_configuration.html.markdown",
+ Edit: func(path string, content []byte) ([]byte, error) {
+ fromBytes := []byte(
+ "* `rule` - (Required) List of configuration blocks describing the rules managing the replication. " +
+ "[See below](#rule).\n")
+ toBytes := []byte(
+ "* `rule` - (Required) List of configuration blocks describing the rules managing the replication. " +
+ "[See below](#rule).\n" +
+ "~> **NOTE:** Replication to multiple destination buckets requires that `priority` is specified " +
+ "in the `rule` object. If the corresponding rule requires no filter, an empty configuration block " +
+ "`filter {}` must be specified." +
+ "\n\n~> **NOTE:** Amazon S3's latest version of the replication configuration is V2, " +
+ "which includes the `filter` attribute for replication rules.\n\n" +
+ "~> **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time " +
+ "and should not be included in your `rule` configurations. " +
+ "Specifying this parameter will result in `MalformedXML` errors.\n" +
+ "To replicate existing objects, please refer to the " +
+ "[Replicating existing objects with S3 Batch Replication]" +
+ "(https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) " +
+ "documentation in the Amazon S3 User Guide.\n",
+ )
+ noteBytes := []byte(
+ "~> **NOTE:** Replication to multiple destination buckets requires that `priority` is specified " +
+ "in the `rule` object. If the corresponding rule requires no filter, an empty configuration block " +
+ "`filter {}` must be specified." +
+ "\n\n~> **NOTE:** Amazon S3's latest version of the replication configuration is V2, " +
+ "which includes the `filter` attribute for replication rules.\n\n" +
+ "~> **NOTE:** The `existing_object_replication` parameter is not supported by Amazon S3 at this time " +
+ "and should not be included in your `rule` configurations. " +
+ "Specifying this parameter will result in `MalformedXML` errors.\n" +
+ "To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication]" +
+ "(https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) " +
+ "documentation in the Amazon S3 User Guide.\n",
+ )
+
+ if bytes.Contains(content, noteBytes) && bytes.Contains(content, fromBytes) {
+ content = bytes.ReplaceAll(
+ content,
+ fromBytes,
+ toBytes)
+ } else {
+ // Hard error to ensure we keep this content up to date
+ return nil, fmt.Errorf("could not find NOTE snippets in upstream %s, "+
+ "please verify replace content in doc_edits.go: %s", path, string(noteBytes))
+ }
+ return content, nil
+ },
+}
func reReplace(from string, to string) tfbridge.DocsEdit {
fromR, toB := regexp.MustCompile(from), []byte(to)
diff --git a/sdk/dotnet/S3/BucketReplicationConfig.cs b/sdk/dotnet/S3/BucketReplicationConfig.cs
index 75b7040810c..5760bdea9a9 100644
--- a/sdk/dotnet/S3/BucketReplicationConfig.cs
+++ b/sdk/dotnet/S3/BucketReplicationConfig.cs
@@ -311,6 +311,12 @@ public partial class BucketReplicationConfig : global::Pulumi.CustomResource
///
/// List of configuration blocks describing the rules managing the replication. See below.
+ /// > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ ///
+ /// > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ ///
+ /// > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ /// To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
///
[Output("rules")]
public Output> Rules { get; private set; } = null!;
@@ -389,6 +395,12 @@ public sealed class BucketReplicationConfigArgs : global::Pulumi.ResourceArgs
///
/// List of configuration blocks describing the rules managing the replication. See below.
+ /// > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ ///
+ /// > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ ///
+ /// > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ /// To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
///
public InputList Rules
{
@@ -438,6 +450,12 @@ public sealed class BucketReplicationConfigState : global::Pulumi.ResourceArgs
///
/// List of configuration blocks describing the rules managing the replication. See below.
+ /// > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ ///
+ /// > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ ///
+ /// > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ /// To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
///
public InputList Rules
{
diff --git a/sdk/go/aws/s3/bucketReplicationConfig.go b/sdk/go/aws/s3/bucketReplicationConfig.go
index e76c6aa73a1..e70200a3aa8 100644
--- a/sdk/go/aws/s3/bucketReplicationConfig.go
+++ b/sdk/go/aws/s3/bucketReplicationConfig.go
@@ -296,6 +296,12 @@ type BucketReplicationConfig struct {
// ARN of the IAM role for Amazon S3 to assume when replicating the objects.
Role pulumi.StringOutput `pulumi:"role"`
// List of configuration blocks describing the rules managing the replication. See below.
+ // > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ //
+ // > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ //
+ // > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ // To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
Rules BucketReplicationConfigRuleArrayOutput `pulumi:"rules"`
// Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
// For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
@@ -353,6 +359,12 @@ type bucketReplicationConfigState struct {
// ARN of the IAM role for Amazon S3 to assume when replicating the objects.
Role *string `pulumi:"role"`
// List of configuration blocks describing the rules managing the replication. See below.
+ // > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ //
+ // > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ //
+ // > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ // To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
Rules []BucketReplicationConfigRule `pulumi:"rules"`
// Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
// For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
@@ -365,6 +377,12 @@ type BucketReplicationConfigState struct {
// ARN of the IAM role for Amazon S3 to assume when replicating the objects.
Role pulumi.StringPtrInput
// List of configuration blocks describing the rules managing the replication. See below.
+ // > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ //
+ // > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ //
+ // > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ // To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
Rules BucketReplicationConfigRuleArrayInput
// Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
// For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
@@ -381,6 +399,12 @@ type bucketReplicationConfigArgs struct {
// ARN of the IAM role for Amazon S3 to assume when replicating the objects.
Role string `pulumi:"role"`
// List of configuration blocks describing the rules managing the replication. See below.
+ // > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ //
+ // > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ //
+ // > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ // To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
Rules []BucketReplicationConfigRule `pulumi:"rules"`
// Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
// For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
@@ -394,6 +418,12 @@ type BucketReplicationConfigArgs struct {
// ARN of the IAM role for Amazon S3 to assume when replicating the objects.
Role pulumi.StringInput
// List of configuration blocks describing the rules managing the replication. See below.
+ // > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ //
+ // > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ //
+ // > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ // To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
Rules BucketReplicationConfigRuleArrayInput
// Token to allow replication to be enabled on an Object Lock-enabled bucket. You must contact AWS support for the bucket's "Object Lock token".
// For more details, see [Using S3 Object Lock with replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-managing-replication).
@@ -498,6 +528,12 @@ func (o BucketReplicationConfigOutput) Role() pulumi.StringOutput {
}
// List of configuration blocks describing the rules managing the replication. See below.
+// > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+//
+// > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+//
+// > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+// To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
func (o BucketReplicationConfigOutput) Rules() BucketReplicationConfigRuleArrayOutput {
return o.ApplyT(func(v *BucketReplicationConfig) BucketReplicationConfigRuleArrayOutput { return v.Rules }).(BucketReplicationConfigRuleArrayOutput)
}
diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java
index 165bf2a791a..e9d013f1c2b 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfig.java
@@ -313,6 +313,12 @@ public Output role() {
}
/**
* List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
*/
@Export(name="rules", refs={List.class,BucketReplicationConfigRule.class}, tree="[0,1]")
@@ -320,6 +326,12 @@ public Output role() {
/**
* @return List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
*/
public Output> rules() {
diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfigArgs.java b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfigArgs.java
index 1bda4c8e484..f84c247534f 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfigArgs.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/s3/BucketReplicationConfigArgs.java
@@ -50,6 +50,12 @@ public Output role() {
/**
* List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
*/
@Import(name="rules", required=true)
@@ -57,6 +63,12 @@ public Output role() {
/**
* @return List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
*/
public Output> rules() {
@@ -151,6 +163,12 @@ public Builder role(String role) {
/**
* @param rules List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
* @return builder
*
@@ -162,6 +180,12 @@ public Builder rules(Output> rules) {
/**
* @param rules List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
* @return builder
*
@@ -172,6 +196,12 @@ public Builder rules(List rules) {
/**
* @param rules List of configuration blocks describing the rules managing the replication. See below.
+ * > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rule` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.
+ *
+ * > **NOTE:** Amazon S3's latest version of the replication configuration is V2, which includes the `filter` attribute for replication rules.
+ *
+ * > **NOTE:** The `existingObjectReplication` parameter is not supported by Amazon S3 at this time and should not be included in your `rule` configurations. Specifying this parameter will result in `MalformedXML` errors.
+ * To replicate existing objects, please refer to the [Replicating existing objects with S3 Batch Replication](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html) documentation in the Amazon S3 User Guide.
*
* @return builder
*
diff --git a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketReplicationConfigState.java b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketReplicationConfigState.java
index b8057e7f9cb..d6e4dbfbaa5 100644
--- a/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketReplicationConfigState.java
+++ b/sdk/java/src/main/java/com/pulumi/aws/s3/inputs/BucketReplicationConfigState.java
@@ -49,6 +49,12 @@ public Optional