You are viewing an outdated version of provider-aws.Go to Latest
crossplane-contrib/provider-aws@v0.49.1
BucketPolicy
s3.aws.crossplane.io
BucketPolicy
crossplane-contrib/provider-aws@v0.49.1s3.aws.crossplane.io

An BucketPolicy is a managed resource that represents an AWS Bucket policy.

Type

CRD

Group

s3.aws.crossplane.io

Version

v1alpha3

apiVersion: s3.aws.crossplane.io/v1alpha3

kind: BucketPolicy

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

An BucketPolicySpec defines the desired state of an BucketPolicy.

forProvider
requiredobject
requiredobject

BucketPolicyParameters define the desired state of an AWS BucketPolicy.

object

BucketNameRef references to an S3Bucket to retrieve its bucketName

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

BucketNameSelector selects a reference to an S3Bucket to retrieve its bucketName

policy
object
object

Policies for selection.

resolve
string
policy
object
object

Policy is a well defined type which can be parsed into an JSON S3 Bucket Policy either policy or rawPolicy must be specified in the policy

id
string
array

Statements is the list of statement this policy applies either jsonStatements or statements must be specified in the policy

action
array
array

Each element of the PolicyAction array describes the specific action or actions that will be allowed or denied with this PolicyStatement.

array

Condition specifies where conditions for policy are in effect. https://docs.aws.amazon.com/AmazonS3/latest/dev/amazon-s3-policy-keys.html

conditions
requiredarray
requiredarray

Conditions represents each of the key/value pairs for the operator key

dateValue
string
key
requiredstring
array

ConditionListValue is the list value of the key from the parent condition

operatorKey
requiredstring
effect
requiredstring
array

Each element of the NotPolicyAction array will allow the property to match all but the listed actions.

object

Used with the S3 policy to specify the users which are not included in this policy

allowAnon
boolean
array

This list contains the all of the AWS IAM users which are affected by the policy statement.

object

IAMRoleARNRef contains the reference to an IAMRole

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

IAMRoleARNSelector queries for an IAM role to retrieve its userName

policy
object
object

Policies for selection.

resolve
string
object

UserARNRef contains the reference to an User

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

UserARNSelector queries for an User to retrieve its userName

policy
object
object

Policies for selection.

resolve
string
federated
string
service
array
array

Service define the services which can have access to this bucket

array

This will explicitly match all resource paths except the ones specified in this array

principal
object
object

Used with the S3 policy to specify the principal that is allowed or denied access to a resource.

allowAnon
boolean
array

This list contains the all of the AWS IAM users which are affected by the policy statement.

object

IAMRoleARNRef contains the reference to an IAMRole

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

IAMRoleARNSelector queries for an IAM role to retrieve its userName

policy
object
object

Policies for selection.

resolve
string
object

UserARNRef contains the reference to an User

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

UserARNSelector queries for an User to retrieve its userName

policy
object
object

Policies for selection.

resolve
string
federated
string
service
array
array

Service define the services which can have access to this bucket

array

The paths on which this resource will apply

sid
string
version
requiredstring
rawPolicy
string
region
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

An BucketPolicyStatus represents the observed state of an BucketPolicy.

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