BucketBucket is the Schema for the Buckets API. Manages the yandex_storage_bucket resource.
TypeMR
Providercrossplane-provider-yc
Groupstorage.yandex-cloud.m.jet.crossplane.io
Scopenamespaced
Versionv1alpha1

1apiVersion: storage.yandex-cloud.m.jet.crossplane.io/v1alpha1

2kind: Bucket

kind
string
metadata
object
spec
object

BucketSpec defines the desired state of Bucket

forProvider
required
object

(No description available)

accessKey
string
object

Reference to a ServiceAccountStaticAccessKey in iam to populate accessKey.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a ServiceAccountStaticAccessKey in iam to populate accessKey.

namespace
string
policy
object

Policies for selection.

resolve
string
acl
string
array

[Block]. Provides various access to objects. See Bucket Availability for more information. Provides various access to objects. See Bucket Availability for more information.

configRead
boolean
list
boolean
read
boolean
bucket
string
array

Origin Resource Sharing (CORS object). A rule of Cross-Origin Resource Sharing (CORS object).

array

(List Of String). Specifies which headers are allowed. Specifies which headers are allowed.

array

(List Of String). Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD. Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

array

(List Of String). Specifies which origins are allowed. Specifies which origins are allowed.

array

(List Of String). Specifies expose header in the response. Specifies expose header in the response.

folderId
string
object

Reference to a Folder in resourcemanager to populate folderId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Folder in resourcemanager to populate folderId.

namespace
string
policy
object

Policies for selection.

resolve
string
grant
array

[Block]. An ACL policy grant. Conflicts with acl. An ACL policy grant. Conflicts with acl.

~> To manage grant argument, service account with storage.admin role should be used.

id
string
idRef
object

Reference to a ServiceAccount in iam to populate id.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a ServiceAccount in iam to populate id.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(Set Of String). List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL. List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL.

type
string
uri
string
https
array

[Block]. Manages https certificates for bucket. See https for more information. Manages https certificates for bucket. See https for more information.

array

[Block]. A configuration of object lifecycle management. A configuration of object lifecycle management.

enabled
boolean
array

[Block]. Specifies a period in the object's expire. Specifies a period in the object's expire.

filter
array

[Block]. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below.

At least one of abort_incomplete_multipart_upload_days, expiration, transition, noncurrent_version_expiration, noncurrent_version_transition must be specified.

and
array

A logical and operator applied to one or more filter parameters. It should be used when two or more of the above parameters are used.

prefix
string
tag
array

A key and value pair for filtering objects. E.g.: key=key1, value=value1.

key
string
value
string
id
string
array

[Block]. Specifies when noncurrent object versions expire. Specifies when noncurrent object versions expire.

array

[Block]. Specifies when noncurrent object versions transitions. Specifies when noncurrent object versions transitions.

prefix
string
array

[Block]. Specifies a period in the object's transitions. Specifies a period in the object's transitions.

date
string
days
number
logging
array

[Block]. A settings of bucket logging. A settings of bucket logging.

maxSize
number
array

[Block]. A configuration of object lock management. A configuration of object lock management.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled.

array

[Block]. Default retention object. Default retention object.

days
number
mode
string
years
number
policy
string
object

(String). The secret key to use when applying changes. This value can also be provided as storage_secret_key specified in provider config (explicitly or within shared_credentials_file) is used. The secret key to use when applying changes. This value can also be provided as storage_secret_key specified in provider config (explicitly or within shared_credentials_file) is used.

key
required
string
name
required
string
array

side encryption for the bucket. A configuration of server-side encryption for the bucket.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. A single object for server-side encryption by default configuration.

array

side encryption by default. A single object for setting server-side encryption by default.

tags
object
array

[Block]. A state of versioning. A state of versioning.

~> To manage versioning argument, service account with storage.admin role should be used.

enabled
boolean
website
array

[Block]. A Website Object A Website 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.

accessKey
string
object

Reference to a ServiceAccountStaticAccessKey in iam to populate accessKey.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a ServiceAccountStaticAccessKey in iam to populate accessKey.

namespace
string
policy
object

Policies for selection.

resolve
string
acl
string
array

[Block]. Provides various access to objects. See Bucket Availability for more information. Provides various access to objects. See Bucket Availability for more information.

configRead
boolean
list
boolean
read
boolean
bucket
string
array

Origin Resource Sharing (CORS object). A rule of Cross-Origin Resource Sharing (CORS object).

array

(List Of String). Specifies which headers are allowed. Specifies which headers are allowed.

array

(List Of String). Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD. Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

array

(List Of String). Specifies which origins are allowed. Specifies which origins are allowed.

array

(List Of String). Specifies expose header in the response. Specifies expose header in the response.

folderId
string
object

Reference to a Folder in resourcemanager to populate folderId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Folder in resourcemanager to populate folderId.

namespace
string
policy
object

Policies for selection.

resolve
string
grant
array

[Block]. An ACL policy grant. Conflicts with acl. An ACL policy grant. Conflicts with acl.

~> To manage grant argument, service account with storage.admin role should be used.

id
string
idRef
object

Reference to a ServiceAccount in iam to populate id.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a ServiceAccount in iam to populate id.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(Set Of String). List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL. List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL.

type
string
uri
string
https
array

[Block]. Manages https certificates for bucket. See https for more information. Manages https certificates for bucket. See https for more information.

array

[Block]. A configuration of object lifecycle management. A configuration of object lifecycle management.

enabled
boolean
array

[Block]. Specifies a period in the object's expire. Specifies a period in the object's expire.

filter
array

[Block]. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below.

At least one of abort_incomplete_multipart_upload_days, expiration, transition, noncurrent_version_expiration, noncurrent_version_transition must be specified.

and
array

A logical and operator applied to one or more filter parameters. It should be used when two or more of the above parameters are used.

prefix
string
tag
array

A key and value pair for filtering objects. E.g.: key=key1, value=value1.

key
string
value
string
id
string
array

[Block]. Specifies when noncurrent object versions expire. Specifies when noncurrent object versions expire.

array

[Block]. Specifies when noncurrent object versions transitions. Specifies when noncurrent object versions transitions.

prefix
string
array

[Block]. Specifies a period in the object's transitions. Specifies a period in the object's transitions.

date
string
days
number
logging
array

[Block]. A settings of bucket logging. A settings of bucket logging.

maxSize
number
array

[Block]. A configuration of object lock management. A configuration of object lock management.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled.

array

[Block]. Default retention object. Default retention object.

days
number
mode
string
years
number
policy
string
object

(String). The secret key to use when applying changes. This value can also be provided as storage_secret_key specified in provider config (explicitly or within shared_credentials_file) is used. The secret key to use when applying changes. This value can also be provided as storage_secret_key specified in provider config (explicitly or within shared_credentials_file) is used.

key
required
string
name
required
string
array

side encryption for the bucket. A configuration of server-side encryption for the bucket.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. A single object for server-side encryption by default configuration.

array

side encryption by default. A single object for setting server-side encryption by default.

tags
object
array

[Block]. A state of versioning. A state of versioning.

~> To manage versioning argument, service account with storage.admin role should be used.

enabled
boolean
website
array

[Block]. A Website Object A Website Object

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. 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.

kind
required
string
name
required
string
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.

name
required
string
status
object

BucketStatus defines the observed state of Bucket.

object

(No description available)

accessKey
string
acl
string
array

[Block]. Provides various access to objects. See Bucket Availability for more information. Provides various access to objects. See Bucket Availability for more information.

configRead
boolean
list
boolean
read
boolean
bucket
string
array

Origin Resource Sharing (CORS object). A rule of Cross-Origin Resource Sharing (CORS object).

array

(List Of String). Specifies which headers are allowed. Specifies which headers are allowed.

array

(List Of String). Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD. Specifies which methods are allowed. Can be GET, PUT, POST, DELETE or HEAD.

array

(List Of String). Specifies which origins are allowed. Specifies which origins are allowed.

array

(List Of String). Specifies expose header in the response. Specifies expose header in the response.

folderId
string
grant
array

[Block]. An ACL policy grant. Conflicts with acl. An ACL policy grant. Conflicts with acl.

~> To manage grant argument, service account with storage.admin role should be used.

id
string
array

(Set Of String). List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL. List of permissions to apply for grantee. Valid values are READ, WRITE, FULL_CONTROL.

type
string
uri
string
https
array

[Block]. Manages https certificates for bucket. See https for more information. Manages https certificates for bucket. See https for more information.

id
string
array

[Block]. A configuration of object lifecycle management. A configuration of object lifecycle management.

enabled
boolean
array

[Block]. Specifies a period in the object's expire. Specifies a period in the object's expire.

filter
array

[Block]. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below. Filter block identifies one or more objects to which the rule applies. A Filter must have exactly one of Prefix, Tag, or And specified. The filter supports options listed below.

At least one of abort_incomplete_multipart_upload_days, expiration, transition, noncurrent_version_expiration, noncurrent_version_transition must be specified.

and
array

A logical and operator applied to one or more filter parameters. It should be used when two or more of the above parameters are used.

prefix
string
tag
array

A key and value pair for filtering objects. E.g.: key=key1, value=value1.

key
string
value
string
id
string
array

[Block]. Specifies when noncurrent object versions expire. Specifies when noncurrent object versions expire.

array

[Block]. Specifies when noncurrent object versions transitions. Specifies when noncurrent object versions transitions.

prefix
string
array

[Block]. Specifies a period in the object's transitions. Specifies a period in the object's transitions.

date
string
days
number
logging
array

[Block]. A settings of bucket logging. A settings of bucket logging.

maxSize
number
array

[Block]. A configuration of object lock management. A configuration of object lock management.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled.

array

[Block]. Default retention object. Default retention object.

days
number
mode
string
years
number
policy
string
array

side encryption for the bucket. A configuration of server-side encryption for the bucket.

rule
array

[Block]. Specifies a default locking configuration for added objects. Require object_lock_enabled to be enabled. A single object for server-side encryption by default configuration.

array

side encryption by default. A single object for setting server-side encryption by default.

tags
object
array

[Block]. A state of versioning. A state of versioning.

~> To manage versioning argument, service account with storage.admin role should be used.

enabled
boolean
website
array

[Block]. A Website Object A Website Object

array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string