Interface CfnAnalysis.ResourcePermissionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.ResourcePermissionProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.ResourcePermissionProperty
extends software.amazon.jsii.JsiiSerializable
Permission for the resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
ResourcePermissionProperty resourcePermissionProperty = ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
// the properties below are optional
.resource("resource")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.ResourcePermissionPropertystatic final classAn implementation forCfnAnalysis.ResourcePermissionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The IAM action to grant or revoke permissions on.- See Also:
-
getPrincipal
The Amazon Resource Name (ARN) of the principal. This can be one of the following:.- The ARN of an Amazon Quick Suite user or group associated with a data source or dataset. (This is common.)
- The ARN of an Amazon Quick Suite 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 Quick Suite ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)
- See Also:
-
getResource
- See Also:
-
builder
-