R2BucketLifecycle

class R2BucketLifecycle : KotlinCustomResource

Example Usage

resources:
exampleR2BucketLifecycle:
type: cloudflare:R2BucketLifecycle
name: example_r2_bucket_lifecycle
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
bucketName: example-bucket
rules:
- id: Expire all objects older than 24 hours
conditions:
prefix: prefix
enabled: true
abort_multipart_uploads_transition:
condition:
maxAge: 0
type: Age
delete_objects_transition:
condition:
maxAge: 0
type: Age
storage_class_transitions:
- condition:
maxAge: 0
type: Age
storageClass: InfrequentAccess

Properties

Link copied to clipboard
val accountId: Output<String>

Account ID

Link copied to clipboard
val bucketName: Output<String>

Name of the bucket

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val jurisdiction: Output<String>

Jurisdiction of the bucket

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>