We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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.
Aws Native. Quick Sight. Approval Policy Governed Action> - List of governed actions a policy applies to.
- Applicable
To Pulumi.Aws Native. Quick Sight. Inputs. Approval Policy Applicable To - Approval
Groups List<string> - List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
- Asset
Types List<Pulumi.Aws Native. Quick Sight. Approval Policy Asset Type> - List of asset types a policy applies to. At least one asset type is required.
- Policy
Id string - Description string
- Name string
- Actions
[]Approval
Policy Governed Action - List of governed actions a policy applies to.
- Applicable
To ApprovalPolicy Applicable To Args - Approval
Groups []string - List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
- Asset
Types []ApprovalPolicy Asset Type - List of asset types a policy applies to. At least one asset type is required.
- Policy
Id 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<Approval
Policy Governed Action> - List of governed actions a policy applies to.
- applicable
To ApprovalPolicy Applicable To - approval
Groups List<String> - List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
- asset
Types List<ApprovalPolicy Asset Type> - List of asset types a policy applies to. At least one asset type is required.
- policy
Id String - description String
- name String
- actions
Approval
Policy Governed Action[] - List of governed actions a policy applies to.
- applicable
To ApprovalPolicy Applicable To - approval
Groups string[] - List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
- asset
Types ApprovalPolicy Asset Type[] - List of asset types a policy applies to. At least one asset type is required.
- policy
Id string - description string
- name string
- actions
Sequence[Approval
Policy Governed Action] - List of governed actions a policy applies to.
- applicable_
to ApprovalPolicy Applicable To Args - approval_
groups Sequence[str] - List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required.
- asset_
types Sequence[ApprovalPolicy Asset Type] - 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.
- applicable
To Property Map - 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
Outputs
All input properties are implicitly available as output properties. Additionally, the ApprovalPolicy resource produces the following output properties:
- created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- policy_
arn string - updated_
at string
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- policy_
arn str - updated_
at str
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) -> ApprovalPolicyfunc 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.
Aws Native. Quick Sight. Approval Policy Applicable To Type - Group
Arns List<string> - Required when type = GROUP. One or more group ARNs.
- Type
Approval
Policy Applicable To Type - Group
Arns []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
Approval
Policy Applicable To Type - group
Arns List<String> - Required when type = GROUP. One or more group ARNs.
- type
Approval
Policy Applicable To Type - group
Arns string[] - Required when type = GROUP. One or more group ARNs.
- type
Approval
Policy Applicable To Type - group_
arns Sequence[str] - Required when type = GROUP. One or more group ARNs.
ApprovalPolicyApplicableToType
| Name | Value |
|---|---|
| Group | GROUP |
| Name | Value |
|---|---|
| Approval | GROUP |
| Value |
|---|
GROUP |
| Name | Value |
|---|---|
| Group | GROUP |
| Name | Value |
|---|---|
| Group | GROUP |
| Name | Value |
|---|---|
| GROUP | GROUP |
| Value |
|---|
GROUP |
ApprovalPolicyAssetType
Asset types that can be governed by approval policies.
| Name | Value |
|---|---|
| Agent | AGENT |
| Space | SPACE |
| Knowledge | KNOWLEDGE_BASE |
| Flow | FLOW |
| Name | Value |
|---|---|
| Approval | AGENT |
| Approval | SPACE |
| Approval | KNOWLEDGE_BASE |
| Approval | FLOW |
| Value |
|---|
AGENT |
SPACE |
KNOWLEDGE_BASE |
FLOW |
| Name | Value |
|---|---|
| Agent | AGENT |
| Space | SPACE |
| Knowledge | KNOWLEDGE_BASE |
| Flow | FLOW |
| Name | Value |
|---|---|
| Agent | AGENT |
| Space | SPACE |
| Knowledge | KNOWLEDGE_BASE |
| Flow | FLOW |
| Name | Value |
|---|---|
| AGENT | AGENT |
| SPACE | SPACE |
| KNOWLEDGE_BASE | KNOWLEDGE_BASE |
| FLOW | FLOW |
| Value |
|---|
AGENT |
SPACE |
KNOWLEDGE_BASE |
FLOW |
ApprovalPolicyGovernedAction
Actions that can be governed by approval policies.
| Name | Value |
|---|---|
| Share | SHARE |
| Name | Value |
|---|---|
| Approval | SHARE |
| Value |
|---|
SHARE |
| Name | Value |
|---|---|
| Share | SHARE |
| Name | Value |
|---|---|
| Share | SHARE |
| Name | Value |
|---|---|
| SHARE | SHARE |
| Value |
|---|
SHARE |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi