public static interface ResourcePermission.Builder extends SdkPojo, CopyableBuilder<ResourcePermission.Builder,ResourcePermission>
Modifier and Type | Method and Description |
---|---|
ResourcePermission.Builder |
actions(Collection<String> actions)
The IAM action to grant or revoke permissions on.
|
ResourcePermission.Builder |
actions(String... actions)
The IAM action to grant or revoke permissions on.
|
ResourcePermission.Builder |
principal(String principal)
The Amazon Resource Name (ARN) of the principal.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ResourcePermission.Builder principal(String principal)
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 AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
principal
- 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 AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)
ResourcePermission.Builder actions(Collection<String> actions)
The IAM action to grant or revoke permissions on.
actions
- The IAM action to grant or revoke permissions on.ResourcePermission.Builder actions(String... actions)
The IAM action to grant or revoke permissions on.
actions
- The IAM action to grant or revoke permissions on.Copyright © 2021. All rights reserved.