1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. quicksight
  6. ApprovalPolicy

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Definition of the AWS::QuickSight::ApprovalPolicy Resource Type.

    Create ApprovalPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApprovalPolicy(name: string, args: ApprovalPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ApprovalPolicy(resource_name: str,
                       args: ApprovalPolicyArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApprovalPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       actions: Optional[Sequence[ApprovalPolicyGovernedAction]] = None,
                       applicable_to: Optional[ApprovalPolicyApplicableToArgs] = None,
                       approval_groups: Optional[Sequence[str]] = None,
                       asset_types: Optional[Sequence[ApprovalPolicyAssetType]] = None,
                       policy_id: Optional[str] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None)
    func NewApprovalPolicy(ctx *Context, name string, args ApprovalPolicyArgs, opts ...ResourceOption) (*ApprovalPolicy, error)
    public ApprovalPolicy(string name, ApprovalPolicyArgs args, CustomResourceOptions? opts = null)
    public ApprovalPolicy(String name, ApprovalPolicyArgs args)
    public ApprovalPolicy(String name, ApprovalPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:quicksight:ApprovalPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_quicksight_approval_policy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ApprovalPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApprovalPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApprovalPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApprovalPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApprovalPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ApprovalPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApprovalPolicy resource accepts the following input properties:

    Actions List<Pulumi.AwsNative.QuickSight.ApprovalPolicyGovernedAction>
    List of governed actions a policy applies to.
    ApplicableTo Pulumi.AwsNative.QuickSight.Inputs.ApprovalPolicyApplicableTo
    ApprovalGroups List<string>
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    AssetTypes List<Pulumi.AwsNative.QuickSight.ApprovalPolicyAssetType>
    List of asset types a policy applies to. At least one asset type is required.
    PolicyId string
    Description string
    Name string
    Actions []ApprovalPolicyGovernedAction
    List of governed actions a policy applies to.
    ApplicableTo ApprovalPolicyApplicableToArgs
    ApprovalGroups []string
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    AssetTypes []ApprovalPolicyAssetType
    List of asset types a policy applies to. At least one asset type is required.
    PolicyId string
    Description string
    Name string
    actions list("SHARE")
    List of governed actions a policy applies to.
    applicable_to object
    approval_groups list(string)
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    asset_types list("AGENT" | "SPACE" | "KNOWLEDGE_BASE" | "FLOW")
    List of asset types a policy applies to. At least one asset type is required.
    policy_id string
    description string
    name string
    actions List<ApprovalPolicyGovernedAction>
    List of governed actions a policy applies to.
    applicableTo ApprovalPolicyApplicableTo
    approvalGroups List<String>
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    assetTypes List<ApprovalPolicyAssetType>
    List of asset types a policy applies to. At least one asset type is required.
    policyId String
    description String
    name String
    actions ApprovalPolicyGovernedAction[]
    List of governed actions a policy applies to.
    applicableTo ApprovalPolicyApplicableTo
    approvalGroups string[]
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    assetTypes ApprovalPolicyAssetType[]
    List of asset types a policy applies to. At least one asset type is required.
    policyId string
    description string
    name string
    actions Sequence[ApprovalPolicyGovernedAction]
    List of governed actions a policy applies to.
    applicable_to ApprovalPolicyApplicableToArgs
    approval_groups Sequence[str]
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    asset_types Sequence[ApprovalPolicyAssetType]
    List of asset types a policy applies to. At least one asset type is required.
    policy_id str
    description str
    name str
    actions List<"SHARE">
    List of governed actions a policy applies to.
    applicableTo Property Map
    approvalGroups List<String>
    List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
    assetTypes List<"AGENT" | "SPACE" | "KNOWLEDGE_BASE" | "FLOW">
    List of asset types a policy applies to. At least one asset type is required.
    policyId String
    description String
    name String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApprovalPolicy resource produces the following output properties:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    UpdatedAt string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    UpdatedAt string
    created_at string
    id string
    The provider-assigned unique ID for this managed resource.
    policy_arn string
    updated_at string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    updatedAt String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    policyArn string
    updatedAt string
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    policy_arn str
    updated_at str
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    updatedAt String

    Look up Existing ApprovalPolicy Resource

    Get an existing ApprovalPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): ApprovalPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> ApprovalPolicy
    func GetApprovalPolicy(ctx *Context, name string, id IDInput, state *ApprovalPolicyState, opts ...ResourceOption) (*ApprovalPolicy, error)
    public static ApprovalPolicy Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static ApprovalPolicy get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingApprovalPolicy:    type: aws-native:quicksight:ApprovalPolicy    get:      id: ${id}
    import {
      to = aws-native_quicksight_approval_policy.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ApprovalPolicyState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    ApprovalPolicyApplicableTo, ApprovalPolicyApplicableToArgs

    Scoping: who the policy applies to.

    Type Pulumi.AwsNative.QuickSight.ApprovalPolicyApplicableToType
    GroupArns List<string>
    Required when type = GROUP. One or more group ARNs.
    Type ApprovalPolicyApplicableToType
    GroupArns []string
    Required when type = GROUP. One or more group ARNs.
    type "GROUP"
    group_arns list(string)
    Required when type = GROUP. One or more group ARNs.
    type ApprovalPolicyApplicableToType
    groupArns List<String>
    Required when type = GROUP. One or more group ARNs.
    type ApprovalPolicyApplicableToType
    groupArns string[]
    Required when type = GROUP. One or more group ARNs.
    type ApprovalPolicyApplicableToType
    group_arns Sequence[str]
    Required when type = GROUP. One or more group ARNs.
    type "GROUP"
    groupArns List<String>
    Required when type = GROUP. One or more group ARNs.

    ApprovalPolicyApplicableToType

    NameValue
    GroupGROUP
    NameValue
    ApprovalPolicyApplicableToTypeGroupGROUP
    Value
    GROUP
    NameValue
    GroupGROUP
    NameValue
    GroupGROUP
    NameValue
    GROUPGROUP
    Value
    GROUP

    ApprovalPolicyAssetType

    Asset types that can be governed by approval policies.

    NameValue
    AgentAGENT
    SpaceSPACE
    KnowledgeBaseKNOWLEDGE_BASE
    FlowFLOW
    NameValue
    ApprovalPolicyAssetTypeAgentAGENT
    ApprovalPolicyAssetTypeSpaceSPACE
    ApprovalPolicyAssetTypeKnowledgeBaseKNOWLEDGE_BASE
    ApprovalPolicyAssetTypeFlowFLOW
    Value
    AGENT
    SPACE
    KNOWLEDGE_BASE
    FLOW
    NameValue
    AgentAGENT
    SpaceSPACE
    KnowledgeBaseKNOWLEDGE_BASE
    FlowFLOW
    NameValue
    AgentAGENT
    SpaceSPACE
    KnowledgeBaseKNOWLEDGE_BASE
    FlowFLOW
    NameValue
    AGENTAGENT
    SPACESPACE
    KNOWLEDGE_BASEKNOWLEDGE_BASE
    FLOWFLOW
    Value
    AGENT
    SPACE
    KNOWLEDGE_BASE
    FLOW

    ApprovalPolicyGovernedAction

    Actions that can be governed by approval policies.

    NameValue
    ShareSHARE
    NameValue
    ApprovalPolicyGovernedActionShareSHARE
    Value
    SHARE
    NameValue
    ShareSHARE
    NameValue
    ShareSHARE
    NameValue
    SHARESHARE
    Value
    SHARE

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial