BucketAccessKeyArgs

data class BucketAccessKeyArgs(val bucketName: Output<String>? = null) : ConvertibleToJava<BucketAccessKeyArgs>

Provides a lightsail bucket access key. This is a set of credentials that allow API requests to be made to the lightsail bucket.

Import

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

$ pulumi import aws:lightsail/bucketAccessKey:BucketAccessKey test example-bucket,AKIA47VOQ2KPR7LLRZ6D

Constructors

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

Properties

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

The name of the bucket that the new access key will belong to, and grant access to.

Functions

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