BucketReplicationConfiguration is the Schema for the BucketReplicationConfigurations API. Provides a S3 bucket replication configuration resource.
Type
CRD
Group
s3.aws.upbound.io
Version
apiVersion: s3.aws.upbound.io/v1beta1
kind: BucketReplicationConfiguration
BucketReplicationConfigurationSpec defines the desired state of BucketReplicationConfiguration
No description provided.
Reference to a Bucket in s3 to populate bucket.
Policies for referencing.
Selector for a Bucket in s3 to populate bucket.
Policies for selection.
Reference to a Role in iam to populate role.
Policies for referencing.
Selector for a Role in iam to populate role.
Policies for selection.
List of configuration blocks describing the rules managing the replication. See below.
Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.
Specifies the destination for the rule. See below.
Configuration block that specifies the overrides to use for object owners on replication. See below. Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object. Must be used in conjunction with account owner override configuration.
Reference to a Bucket in s3 to populate bucket.
Policies for referencing.
Selector for a Bucket in s3 to populate bucket.
Policies for selection.
Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.
Reference to a Key in kms to populate replicaKmsKeyId.
Policies for referencing.
Selector for a Key in kms to populate replicaKmsKeyId.
Policies for selection.
Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.
Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.
Configuration block that specifies S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. See below. Replication Time Control must be used in conjunction with metrics.
Replicate existing objects in the source bucket according to the rule configurations. See below.
Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.
Specifies special object selection criteria. See below.
Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.
Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, replica_kms_key_id in destination encryption_configuration must be specified as well.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
Reference to a Bucket in s3 to populate bucket.
Policies for referencing.
Selector for a Bucket in s3 to populate bucket.
Policies for selection.
Reference to a Role in iam to populate role.
Policies for referencing.
Selector for a Role in iam to populate role.
Policies for selection.
List of configuration blocks describing the rules managing the replication. See below.
Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.
Specifies the destination for the rule. See below.
Configuration block that specifies the overrides to use for object owners on replication. See below. Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object. Must be used in conjunction with account owner override configuration.
Reference to a Bucket in s3 to populate bucket.
Policies for referencing.
Selector for a Bucket in s3 to populate bucket.
Policies for selection.
Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.
Reference to a Key in kms to populate replicaKmsKeyId.
Policies for referencing.
Selector for a Key in kms to populate replicaKmsKeyId.
Policies for selection.
Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.
Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.
Configuration block that specifies S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. See below. Replication Time Control must be used in conjunction with metrics.
Replicate existing objects in the source bucket according to the rule configurations. See below.
Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.
Specifies special object selection criteria. See below.
Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.
Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, replica_kms_key_id in destination encryption_configuration must be specified as well.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
BucketReplicationConfigurationStatus defines the observed state of BucketReplicationConfiguration.
No description provided.
List of configuration blocks describing the rules managing the replication. See below.
Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.
Specifies the destination for the rule. See below.
Configuration block that specifies the overrides to use for object owners on replication. See below. Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object. Must be used in conjunction with account owner override configuration.
Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.
Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.
Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.
Configuration block that specifies S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. See below. Replication Time Control must be used in conjunction with metrics.
Replicate existing objects in the source bucket according to the rule configurations. See below.
Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.
Specifies special object selection criteria. See below.
Configuration block that you can specify for selections for modifications on replicas. Amazon S3 doesn't replicate replica modifications by default. In the latest version of replication configuration (when filter is specified), you can specify this element and set the status to Enabled to replicate modifications on replicas.
Configuration block for filter information for the selection of Amazon S3 objects encrypted with AWS KMS. If specified, replica_kms_key_id in destination encryption_configuration must be specified as well.
Conditions of the resource.
example
apiVersion: s3.aws.upbound.io/v1beta1
kind: BucketReplicationConfiguration
metadata:
name: example
spec:
forProvider:
bucketSelector:
matchLabels:
testing.upbound.io/example-name: s3
region: us-west-1
role: <role ARN>
rule:
- deleteMarkerReplication:
- status: Enabled
destination:
- bucketSelector:
matchLabels:
testing.upbound.io/example-name: s3
storageClass: STANDARD
filter:
- prefix: foo
id: foobar
status: Enabled