Aller au contenu

S3

User Defined Values

Bucket

Bucket with User Defined Values
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
apiVersion: s3.aws.m.upbound.io/v1beta1
kind: Bucket
metadata:
  namespace: NAMESPACE
  name: APPNAME-SERVICE-ENVIRONMENT-bucket
spec:
  forProvider:
    region: REGION
    tags:
      company: COMPANY
      appName: APPNAME
      service: SERVICE
      environment: ENVIRONMENT
      team: TEAM
      kind: bucket
      region: REGION
      account: ACCOUNT_ID
      createdBy: mathod
      createdAt: 2026-06-01
      provisionedBy: crossplane
  providerConfigRef:
    name: default
    kind: ProviderConfig
Bucket with fixed name
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
apiVersion: s3.aws.m.upbound.io/v1beta1
kind: Bucket
metadata:
  name: app1-bucket-mathod
  namespace: crossplane-system
spec:
  forProvider:
    region: eu-west-3
    tags:
      company: mathod
      project: app1
      environment: production
  providerConfigRef:
    name: default
    kind: ProviderConfig

Bucket with autogenerated name prefix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
apiVersion: s3.aws.m.upbound.io/v1beta1
kind: Bucket
metadata:
  generateName: app1-bucket-mathod-
  namespace: crossplane-system
spec:
  forProvider:
    region: eu-west-3
    tags:
      company: mathod
      project: app1
      environment: production
  providerConfigRef:
    name: default
    kind: ProviderConfig

BucketAccelerateConfiguration

BucketACL

BucketAnalyticsConfiguration

BucketCorsConfiguration

BucketIntelligentTieringConfiguration

BucketInventory

BucketLifecycleConfiguration

BucketLogging

BucketMetric

BucketNotification

BucketObject

BucketObjectLockConfiguration

BucketOwnershipControls

BucketPolicy

BucketPublicAccessBlock

BucketReplicationConfiguration

BucketRequestPaymentConfiguration

BucketServerSideEncryptionConfiguration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
apiVersion: s3.aws.m.upbound.io/v1beta1
kind: BucketServerSideEncryptionConfiguration
metadata:
  namespace: dev-environment
  name: my-secure-bucket-encryption
spec:
  forProvider:
    bucket: my-secure-bucket
    rules:
      - applyServerSideEncryptionByDefault:
          sseAlgorithm: AES256
    tags:
      kind: BucketServerSideEncryptionConfiguration
  providerConfigRef:
    name: aws-provider
    kind: ProviderConfig

BucketVersioning

BucketWebsiteConfiguration

DirectoryBucket

Object

ObjectCopy

Documentation

url: https://marketplace.upbound.io/providers/upbound/provider-aws-s3/latest/resources/s3.aws.m.upbound.io/Bucket/v1beta1
image: https://raw.githubusercontent.com/cncf/artwork/9e203aa38643bbf0fcb081dbaa80abbd0f6f0698/projects/crossplane/stacked/color/crossplane-stacked-color.svg