AccessGrantArgs

data class AccessGrantArgs(val accessGrantsLocationConfiguration: Output<AccessGrantsLocationConfigurationArgs>? = null, val accessGrantsLocationId: Output<String>? = null, val applicationArn: Output<String>? = null, val grantee: Output<AccessGrantGranteeArgs>? = null, val permission: Output<AccessGrantPermission>? = null, val s3PrefixType: Output<AccessGrantS3PrefixType>? = null, val tags: Output<List<CreateOnlyTagArgs>>? = null) : ConvertibleToJava<AccessGrantArgs>

The AWS::S3::AccessGrant resource is an Amazon S3 resource type representing permissions to a specific S3 bucket or prefix hosted in an S3 Access Grants instance.

Constructors

Link copied to clipboard
constructor(accessGrantsLocationConfiguration: Output<AccessGrantsLocationConfigurationArgs>? = null, accessGrantsLocationId: Output<String>? = null, applicationArn: Output<String>? = null, grantee: Output<AccessGrantGranteeArgs>? = null, permission: Output<AccessGrantPermission>? = null, s3PrefixType: Output<AccessGrantS3PrefixType>? = null, tags: Output<List<CreateOnlyTagArgs>>? = null)

Properties

Link copied to clipboard

The configuration options of the grant location, which is the S3 path to the data to which you are granting access.

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

The custom S3 location to be accessed by the grantee

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

The ARN of the application grantees will use to access the location

Link copied to clipboard
val grantee: Output<AccessGrantGranteeArgs>? = null

The principal who will be granted permission to access S3.

Link copied to clipboard
val permission: Output<AccessGrantPermission>? = null

The level of access to be afforded to the grantee

Link copied to clipboard

The type of S3SubPrefix.

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

The AWS resource tags that you are adding to the access grant. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

Functions

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