Interface CfnAnalysis.ResourcePermissionProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnAnalysis.ResourcePermissionProperty extends
Permission for the resource.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ResourcePermissionProperty resourcePermissionProperty = ResourcePermissionProperty.builder()
         // the properties below are optional
  • Method Details

    • getActions

      @Stability(Stable) @NotNull List<String> getActions()
      The IAM action to grant or revoke permissions on.
    • getPrincipal

      @Stability(Stable) @NotNull String getPrincipal()
      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 Amazon QuickSight ARN. Use this option only to share resources (templates) across AWS accounts . (This is less common.)
    • getResource

      @Stability(Stable) @Nullable default String getResource()
    • builder

      @Stability(Stable) static CfnAnalysis.ResourcePermissionProperty.Builder builder()
      a CfnAnalysis.ResourcePermissionProperty.Builder of CfnAnalysis.ResourcePermissionProperty