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

Bucket is the Schema for the Buckets API. Provides a S3 bucket resource.

Type

CRD

Group

s3.aws.upbound.io

Version

apiVersion: s3.aws.upbound.io/v1beta1

kind: Bucket

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

BucketSpec defines the desired state of Bucket

forProvider
requiredobject
requiredobject

No description provided.

region
requiredstring
tags
object
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.

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

BucketStatus defines the observed state of Bucket.

object

No description provided.

acl
string
arn
string
array

Rule of Cross-Origin Resource Sharing. See CORS rule below for details. Use the resource aws_s3_bucket_cors_configuration instead.

array

List of headers allowed.

array

One or more HTTP methods that you allow the origin to execute. Can be GET, PUT, POST, DELETE or HEAD.

array

One or more origins you want customers to be able to access the bucket from.

array

One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).

grant
array
array

An ACL policy grant. See Grant below for details. Conflicts with acl. Use the resource aws_s3_bucket_acl instead.

id
string
array

List of permissions to apply for grantee. Valid values are READ, WRITE, READ_ACP, WRITE_ACP, FULL_CONTROL.

type
string
uri
string
id
string
array

Configuration of object lifecycle management. See Lifecycle Rule below for details. Use the resource aws_s3_bucket_lifecycle_configuration instead.

enabled
boolean
array

Specifies a period in the object's expire. See Expiration below for details.

id
string
array

Specifies when noncurrent object versions expire. See Noncurrent Version Expiration below for details.

days
number
array

Specifies when noncurrent object versions transitions. See Noncurrent Version Transition below for details.

days
number
prefix
string
tags
object
array

Specifies a period in the object's transitions. See Transition below for details.

date
string
days
number
logging
array
array

Configuration of S3 bucket logging parameters. See Logging below for details. Use the resource aws_s3_bucket_logging instead.

array

Configuration of S3 object locking. See Object Lock Configuration below for details. Use the object_lock_enabled parameter and the resource aws_s3_bucket_object_lock_configuration instead.

rule
array
array

Object Lock rule in place for this bucket (documented below).

array

Default retention period that you want to apply to new objects placed in this bucket (documented below).

days
number
mode
string
years
number
policy
string
region
string
array

Configuration of replication configuration. See Replication Configuration below for details. Use the resource aws_s3_bucket_replication_configuration instead.

role
string
rules
array
array

Specifies the rules managing the replication (documented below).

array

Specifies the destination for the rule (documented below).

array

Specifies the overrides to use for object owners on replication (documented below). Must be used in conjunction with account_id owner override configuration.

owner
string
accountId
string
bucket
string
metrics
array
array

Enables replication metrics (documented below).

minutes
number
status
string
array

Enables S3 Replication Time Control (S3 RTC) (documented below).

minutes
number
status
string
filter
array
array

Filter that identifies subset of objects to which the replication rule applies (documented below).

prefix
string
tags
object
id
string
prefix
string
priority
number
array

Specifies special object selection criteria (documented below).

array

Match SSE-KMS encrypted objects (documented below). If specified, replica_kms_key_id in destination must be specified as well.

enabled
boolean
status
string
array

Configuration of server-side encryption configuration. See Server Side Encryption Configuration below for details. Use the resource aws_s3_bucket_server_side_encryption_configuration instead.

rule
array
array

Single object for server-side encryption by default configuration. (documented below)

array

Single object for setting server-side encryption by default. (documented below)

tags
object
tagsAll
object
array

Configuration of the S3 bucket versioning state. See Versioning below for details. Use the resource aws_s3_bucket_versioning instead.

enabled
boolean
mfaDelete
boolean
website
array
array

Configuration of the S3 bucket website. See Website below for details. Use the resource aws_s3_bucket_website_configuration instead.

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