Class CfnApprovalPolicy
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.CfnApprovalPolicy
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IApprovalPolicyRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:15.781Z")
@Stability(Stable)
public class CfnApprovalPolicy
extends CfnResource
implements IInspectable, IApprovalPolicyRef
Definition of the AWS::QuickSight::ApprovalPolicy Resource Type.
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.*;
Object actions;
Object assetTypes;
Object type;
CfnApprovalPolicy cfnApprovalPolicy = CfnApprovalPolicy.Builder.create(this, "MyCfnApprovalPolicy")
.actions(List.of(actions))
.applicableTo(ApplicableToProperty.builder()
.type(type)
// the properties below are optional
.groupArns(List.of("groupArns"))
.build())
.approvalGroups(List.of("approvalGroups"))
.assetTypes(List.of(assetTypes))
.name("name")
.policyId("policyId")
// the properties below are optional
.description("description")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceScoping: who the policy applies to.static final classA fluent builder forCfnApprovalPolicy.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.quicksight.IApprovalPolicyRef
IApprovalPolicyRef.Jsii$Default, IApprovalPolicyRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApprovalPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApprovalPolicy(software.amazon.jsii.JsiiObjectRef objRef) CfnApprovalPolicy(software.constructs.Construct scope, String id, CfnApprovalPolicyProps props) Create a newAWS::QuickSight::ApprovalPolicy. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForApprovalPolicy(IApprovalPolicyRef resource) List of governed actions a policy applies to.Scoping: who the policy applies to.List of approval group ARNs (e.g.A reference to a ApprovalPolicy resource.List of asset types a policy applies to.getName()voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnApprovalPolicy.renderProperties(Map<String, Object> props) voidsetActions(List<Object> value) List of governed actions a policy applies to.voidsetActions(IResolvable value) List of governed actions a policy applies to.voidsetApplicableTo(IResolvable value) Scoping: who the policy applies to.voidScoping: who the policy applies to.voidsetApprovalGroups(List<String> value) List of approval group ARNs (e.g.voidsetAssetTypes(List<Object> value) List of asset types a policy applies to.voidsetAssetTypes(IResolvable value) List of asset types a policy applies to.voidsetDescription(String value) voidvoidsetPolicyId(String value) Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods 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
-
CfnApprovalPolicy
protected CfnApprovalPolicy(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApprovalPolicy
protected CfnApprovalPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApprovalPolicy
@Stability(Stable) public CfnApprovalPolicy(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApprovalPolicyProps props) Create a newAWS::QuickSight::ApprovalPolicy.- 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
-
arnForApprovalPolicy
@Stability(Stable) @NotNull public static String arnForApprovalPolicy(@NotNull IApprovalPolicyRef resource) - Parameters:
resource- This parameter is required.
-
isCfnApprovalPolicy
Checks whether the given object is a CfnApprovalPolicy.- Parameters:
x- 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.
-
getApprovalPolicyRef
A reference to a ApprovalPolicy resource.- Specified by:
getApprovalPolicyRefin interfaceIApprovalPolicyRef
-
getAttrCreatedAt
-
getAttrPolicyArn
-
getAttrUpdatedAt
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getActions
List of governed actions a policy applies to.Returns union: either Listinvalid input: '<'
Object> orIResolvable -
setActions
List of governed actions a policy applies to. -
setActions
List of governed actions a policy applies to. -
getApplicableTo
Scoping: who the policy applies to.Returns union: either
IResolvableorCfnApprovalPolicy.ApplicableToProperty -
setApplicableTo
Scoping: who the policy applies to. -
setApplicableTo
@Stability(Stable) public void setApplicableTo(@NotNull CfnApprovalPolicy.ApplicableToProperty value) Scoping: who the policy applies to. -
getApprovalGroups
List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required; the upper bound is enforced per-account at the service layer via the configurable approver-group limit. -
setApprovalGroups
List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required; the upper bound is enforced per-account at the service layer via the configurable approver-group limit. -
getAssetTypes
List of asset types a policy applies to.Returns union: either Listinvalid input: '<'
Object> orIResolvable -
setAssetTypes
List of asset types a policy applies to. -
setAssetTypes
List of asset types a policy applies to. -
getName
-
setName
-
getPolicyId
-
setPolicyId
-
getDescription
-
setDescription
-