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

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.

    Using getApprovalPolicy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getApprovalPolicy(args: GetApprovalPolicyArgs, opts?: InvokeOptions): Promise<GetApprovalPolicyResult>
    function getApprovalPolicyOutput(args: GetApprovalPolicyOutputArgs, opts?: InvokeOutputOptions): Output<GetApprovalPolicyResult>
    def get_approval_policy(policy_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetApprovalPolicyResult
    def get_approval_policy_output(policy_id: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOutputOptions] = None) -> Output[GetApprovalPolicyResult]
    func LookupApprovalPolicy(ctx *Context, args *LookupApprovalPolicyArgs, opts ...InvokeOption) (*LookupApprovalPolicyResult, error)
    func LookupApprovalPolicyOutput(ctx *Context, args *LookupApprovalPolicyOutputArgs, opts ...InvokeOption) LookupApprovalPolicyResultOutput

    > Note: This function is named LookupApprovalPolicy in the Go SDK.

    public static class GetApprovalPolicy 
    {
        public static Task<GetApprovalPolicyResult> InvokeAsync(GetApprovalPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetApprovalPolicyResult> Invoke(GetApprovalPolicyInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetApprovalPolicyResult> Invoke(GetApprovalPolicyInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetApprovalPolicyResult> getApprovalPolicy(GetApprovalPolicyArgs args, InvokeOptions options)
    public static Output<GetApprovalPolicyResult> getApprovalPolicy(GetApprovalPolicyArgs args, InvokeOptions options)
    public static Output<GetApprovalPolicyResult> getApprovalPolicy(GetApprovalPolicyArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:quicksight:getApprovalPolicy
      arguments:
        # arguments dictionary
    data "aws-native_quicksight_get_approval_policy" "name" {
        # arguments
    }

    The following arguments are supported:

    PolicyId string
    PolicyId string
    policy_id string
    policyId String
    policyId string
    policyId String

    getApprovalPolicy Result

    The following output properties are available:

    Actions List<Pulumi.AwsNative.QuickSight.ApprovalPolicyGovernedAction>
    List of governed actions a policy applies to.
    ApplicableTo Pulumi.AwsNative.QuickSight.Outputs.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.
    CreatedAt string
    Description string
    Name string
    PolicyArn string
    UpdatedAt 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.
    CreatedAt string
    Description string
    Name string
    PolicyArn string
    UpdatedAt 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.
    created_at string
    description string
    name string
    policy_arn string
    updated_at 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.
    createdAt String
    description String
    name String
    policyArn String
    updatedAt 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.
    createdAt string
    description string
    name string
    policyArn string
    updatedAt string
    actions Sequence[ApprovalPolicyGovernedAction]
    List of governed actions a policy applies to.
    applicable_to ApprovalPolicyApplicableTo
    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.
    created_at str
    description str
    name str
    policy_arn str
    updated_at 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.
    createdAt String
    description String
    name String
    policyArn String
    updatedAt String

    Supporting Types

    ApprovalPolicyApplicableTo

    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

    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

    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