You are viewing an outdated version of provider-aws-s3.Go to Latest
upbound/provider-aws-s3@v1.14.0
BucketReplicationConfiguration
s3.aws.upbound.io
BucketReplicationConfiguration
upbound/provider-aws-s3@v1.14.0s3.aws.upbound.io

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

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

BucketReplicationConfigurationSpec defines the desired state of BucketReplicationConfiguration

forProvider
requiredobject
requiredobject

No description provided.

bucket
string
bucketRef
object
object

Reference to a Bucket in s3 to populate bucket.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate bucket.

policy
object
object

Policies for selection.

resolve
string
region
requiredstring
role
string
roleRef
object
object

Reference to a Role in iam to populate role.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate role.

policy
object
object

Policies for selection.

resolve
string
rule
array
array

List of configuration blocks describing the rules managing the replication. See below.

array

Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.

status
string
array

Specifies the destination for the rule. See below.

array

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.

owner
string
account
string
bucket
string
bucketRef
object
object

Reference to a Bucket in s3 to populate bucket.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate bucket.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.

object

Reference to a Key in kms to populate replicaKmsKeyId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate replicaKmsKeyId.

policy
object
object

Policies for selection.

resolve
string
metrics
array
array

Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.

array

Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.

minutes
number
status
string
array

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.

status
string
time
array
array

Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.

minutes
number
array

Replicate existing objects in the source bucket according to the rule configurations. See below.

status
string
filter
array
array

Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.

and
array
array

Configuration block for specifying rule filters. This element is required only if you specify more than one filter. See and below for more details.

prefix
string
tags
object
prefix
string
tag
array
array

Configuration block for specifying a tag key and value. See below.

key
string
value
string
id
string
prefix
string
priority
number
array

Specifies special object selection criteria. See below.

array

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.

status
string
array

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.

status
string
status
string
object

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.

key
requiredstring
name
requiredstring
namespace
requiredstring
object

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.

bucket
string
bucketRef
object
object

Reference to a Bucket in s3 to populate bucket.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate bucket.

policy
object
object

Policies for selection.

resolve
string
role
string
roleRef
object
object

Reference to a Role in iam to populate role.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Role in iam to populate role.

policy
object
object

Policies for selection.

resolve
string
rule
array
array

List of configuration blocks describing the rules managing the replication. See below.

array

Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.

status
string
array

Specifies the destination for the rule. See below.

array

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.

owner
string
account
string
bucket
string
bucketRef
object
object

Reference to a Bucket in s3 to populate bucket.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Bucket in s3 to populate bucket.

policy
object
object

Policies for selection.

resolve
string
array

Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.

object

Reference to a Key in kms to populate replicaKmsKeyId.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate replicaKmsKeyId.

policy
object
object

Policies for selection.

resolve
string
metrics
array
array

Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.

array

Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.

minutes
number
status
string
array

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.

status
string
time
array
array

Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.

minutes
number
array

Replicate existing objects in the source bucket according to the rule configurations. See below.

status
string
filter
array
array

Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.

and
array
array

Configuration block for specifying rule filters. This element is required only if you specify more than one filter. See and below for more details.

prefix
string
tags
object
prefix
string
tag
array
array

Configuration block for specifying a tag key and value. See below.

key
string
value
string
id
string
prefix
string
priority
number
array

Specifies special object selection criteria. See below.

array

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.

status
string
array

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.

status
string
status
string
object

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.

key
requiredstring
name
requiredstring
namespace
requiredstring
array

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

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

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.

name
requiredstring
namespace
requiredstring
status
object
object

BucketReplicationConfigurationStatus defines the observed state of BucketReplicationConfiguration.

object

No description provided.

bucket
string
id
string
role
string
rule
array
array

List of configuration blocks describing the rules managing the replication. See below.

array

Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below.

status
string
array

Specifies the destination for the rule. See below.

array

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.

owner
string
account
string
bucket
string
array

Configuration block that provides information about encryption. See below. If source_selection_criteria is specified, you must specify this element.

metrics
array
array

Configuration block that specifies replication metrics-related settings enabling replication metrics and events. See below.

array

Configuration block that specifies the time threshold for emitting the s3:Replication:OperationMissedThreshold event. See below.

minutes
number
status
string
array

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.

status
string
time
array
array

Configuration block specifying the time by which replication should be complete for all objects and operations on objects. See below.

minutes
number
array

Replicate existing objects in the source bucket according to the rule configurations. See below.

status
string
filter
array
array

Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix.

and
array
array

Configuration block for specifying rule filters. This element is required only if you specify more than one filter. See and below for more details.

prefix
string
tags
object
prefix
string
tag
array
array

Configuration block for specifying a tag key and value. See below.

key
string
value
string
id
string
prefix
string
priority
number
array

Specifies special object selection criteria. See below.

array

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.

status
string
array

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.

status
string
status
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions