DataSourceResourcePermissionArgs

data class DataSourceResourcePermissionArgs(val actions: Output<List<String>>, val principal: Output<String>, val resource: Output<String>? = null) : ConvertibleToJava<DataSourceResourcePermissionArgs>

Permission for the resource.

Constructors

Link copied to clipboard
constructor(actions: Output<List<String>>, principal: Output<String>, resource: Output<String>? = null)

Properties

Link copied to clipboard
val actions: Output<List<String>>

The IAM action to grant or revoke permissions on.

Link copied to clipboard
val principal: Output<String>

The Amazon Resource Name (ARN) of the principal. This can be one of the following:

  • The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

  • The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

  • The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)

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

Functions

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