BucketResourceAccessArgs

data class BucketResourceAccessArgs(val bucketName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<BucketResourceAccessArgs>

Provides a lightsail resource access to a bucket.

Import

aws_lightsail_bucket_resource_access can be imported by using the id attribute, e.g.,

$ pulumi import aws:lightsail/bucketResourceAccess:BucketResourceAccess test example-bucket,example-instance

Constructors

Link copied to clipboard
constructor(bucketName: Output<String>? = null, resourceName: Output<String>? = null)

Properties

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

The name of the bucket to grant access to.

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

The name of the resource to be granted bucket access.

Functions

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