BucketArgs

data class BucketArgs(val accessRules: Output<BucketAccessRulesArgs>? = null, val bucketName: Output<String>? = null, val bundleId: Output<String>? = null, val objectVersioning: Output<Boolean>? = null, val readOnlyAccessAccounts: Output<List<String>>? = null, val resourcesReceivingAccess: Output<List<String>>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<BucketArgs>

Resource Type definition for AWS::Lightsail::Bucket

Constructors

Link copied to clipboard
constructor(accessRules: Output<BucketAccessRulesArgs>? = null, bucketName: Output<String>? = null, bundleId: Output<String>? = null, objectVersioning: Output<Boolean>? = null, readOnlyAccessAccounts: Output<List<String>>? = null, resourcesReceivingAccess: Output<List<String>>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val accessRules: Output<BucketAccessRulesArgs>? = null

An object that describes the access rules for the bucket.

Link copied to clipboard
val bucketName: Output<String>? = null

The name for the bucket.

Link copied to clipboard
val bundleId: Output<String>? = null

The ID of the bundle to use for the bucket.

Link copied to clipboard
val objectVersioning: Output<Boolean>? = null

Specifies whether to enable or disable versioning of objects in the bucket.

Link copied to clipboard
val readOnlyAccessAccounts: Output<List<String>>? = null

An array of strings to specify the AWS account IDs that can access the bucket.

Link copied to clipboard
val resourcesReceivingAccess: Output<List<String>>? = null

The names of the Lightsail resources for which to set bucket access.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Functions

Link copied to clipboard
open override fun toJava(): BucketArgs