Class CfnCustomPermissions
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.quicksight.CfnCustomPermissions
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ICustomPermissionsRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:27.001Z")
@Stability(Stable)
public class CfnCustomPermissions
extends CfnResource
implements IInspectable, ICustomPermissionsRef, ITaggableV2
Creates a custom permissions profile.
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.*;
CfnCustomPermissions cfnCustomPermissions = CfnCustomPermissions.Builder.create(this, "MyCfnCustomPermissions")
.awsAccountId("awsAccountId")
.customPermissionsName("customPermissionsName")
// the properties below are optional
.capabilities(CapabilitiesProperty.builder()
.addOrRunAnomalyDetectionForAnalyses("addOrRunAnomalyDetectionForAnalyses")
.analysis("analysis")
.createAndUpdateDashboardEmailReports("createAndUpdateDashboardEmailReports")
.createAndUpdateDatasets("createAndUpdateDatasets")
.createAndUpdateDataSources("createAndUpdateDataSources")
.createAndUpdateThemes("createAndUpdateThemes")
.createAndUpdateThresholdAlerts("createAndUpdateThresholdAlerts")
.createSharedFolders("createSharedFolders")
.createSpiceDataset("createSpiceDataset")
.dashboard("dashboard")
.exportToCsv("exportToCsv")
.exportToCsvInScheduledReports("exportToCsvInScheduledReports")
.exportToExcel("exportToExcel")
.exportToExcelInScheduledReports("exportToExcelInScheduledReports")
.exportToPdf("exportToPdf")
.exportToPdfInScheduledReports("exportToPdfInScheduledReports")
.includeContentInScheduledReportsEmail("includeContentInScheduledReportsEmail")
.printReports("printReports")
.renameSharedFolders("renameSharedFolders")
.shareAnalyses("shareAnalyses")
.shareDashboards("shareDashboards")
.shareDatasets("shareDatasets")
.shareDataSources("shareDataSources")
.subscribeDashboardEmailReports("subscribeDashboardEmailReports")
.viewAccountSpiceCapacity("viewAccountSpiceCapacity")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnCustomPermissions.static interfaceA set of actions that correspond to Amazon Quick Sight permissions.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.quicksight.ICustomPermissionsRef
ICustomPermissionsRef.Jsii$Default, ICustomPermissionsRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCustomPermissions(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCustomPermissions(software.amazon.jsii.JsiiObjectRef objRef) CfnCustomPermissions(software.constructs.Construct scope, String id, CfnCustomPermissionsProps props) Create a newAWS::QuickSight::CustomPermissions. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForCustomPermissions(ICustomPermissionsRef resource) The Amazon Resource Name (ARN) of the custom permissions profile.The ID of the AWS account that contains the custom permission configuration that you want to update.A set of actions in the custom permissions profile.Tag Manager which manages the tags for this resource.The name of the custom permissions profile.A reference to a CustomPermissions resource.getTags()The tags to associate with the custom permissions profile.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAwsAccountId(String value) The ID of the AWS account that contains the custom permission configuration that you want to update.voidsetCapabilities(IResolvable value) A set of actions in the custom permissions profile.voidA set of actions in the custom permissions profile.voidsetCustomPermissionsName(String value) The name of the custom permissions profile.voidThe tags to associate with the custom permissions profile.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCustomPermissions
protected CfnCustomPermissions(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCustomPermissions
protected CfnCustomPermissions(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCustomPermissions
@Stability(Stable) public CfnCustomPermissions(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCustomPermissionsProps props) Create a newAWS::QuickSight::CustomPermissions.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForCustomPermissions
@Stability(Stable) @NotNull public static String arnForCustomPermissions(@NotNull ICustomPermissionsRef resource) - Parameters:
resource- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the custom permissions profile. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCustomPermissionsRef
A reference to a CustomPermissions resource.- Specified by:
getCustomPermissionsRefin interfaceICustomPermissionsRef
-
getAwsAccountId
The ID of the AWS account that contains the custom permission configuration that you want to update. -
setAwsAccountId
The ID of the AWS account that contains the custom permission configuration that you want to update. -
getCustomPermissionsName
The name of the custom permissions profile. -
setCustomPermissionsName
The name of the custom permissions profile. -
getCapabilities
A set of actions in the custom permissions profile.Returns union: either
IResolvableorCfnCustomPermissions.CapabilitiesProperty -
setCapabilities
A set of actions in the custom permissions profile. -
setCapabilities
@Stability(Stable) public void setCapabilities(@Nullable CfnCustomPermissions.CapabilitiesProperty value) A set of actions in the custom permissions profile. -
getTags
The tags to associate with the custom permissions profile. -
setTags
The tags to associate with the custom permissions profile.
-