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.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 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<object>
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    AssetTypes List<object>
    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 []interface{}
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    AssetTypes []interface{}
    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(any)
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    asset_types list(any)
    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<Object>
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    assetTypes List<Object>
    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 any[]
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    assetTypes any[]
    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[Any]
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    asset_types Sequence[Any]
    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<Any>
    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; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.
    assetTypes List<Any>
    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 object
    GroupArns List<string>
    Required when type = GROUP. One or more group ARNs.
    Type interface{}
    GroupArns []string
    Required when type = GROUP. One or more group ARNs.
    type any
    group_arns list(string)
    Required when type = GROUP. One or more group ARNs.
    type Object
    groupArns List<String>
    Required when type = GROUP. One or more group ARNs.
    type any
    groupArns string[]
    Required when type = GROUP. One or more group ARNs.
    type Any
    group_arns Sequence[str]
    Required when type = GROUP. One or more group ARNs.
    type Any
    groupArns List<String>
    Required when type = GROUP. One or more group ARNs.

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial