import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing a QuickSight Folder. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.quicksight.Folder("example", { * folderId: "example-id", * name: "example-name", * }); * ``` * * ### With Permissions * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.quicksight.Folder("example", { * permissions: [{ * actions: [ * "quicksight:CreateFolder", * "quicksight:DescribeFolder", * "quicksight:UpdateFolder", * "quicksight:DeleteFolder", * "quicksight:CreateFolderMembership", * "quicksight:DeleteFolderMembership", * "quicksight:DescribeFolderPermissions", * "quicksight:UpdateFolderPermissions", * ], * principal: exampleAwsQuicksightUser.arn, * }], * folderId: "example-id", * name: "example-name", * }); * ``` * * ### With Parent Folder * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const parent = new aws.quicksight.Folder("parent", { * folderId: "parent-id", * name: "parent-name", * }); * const example = new aws.quicksight.Folder("example", { * folderId: "example-id", * name: "example-name", * parentFolderArn: parent.arn, * }); * ``` * * ## Import * * Using `pulumi import`, import a QuickSight folder using the AWS account ID and folder ID name separated by a comma (`,`). For example: * * ```sh * $ pulumi import aws:quicksight/folder:Folder example 123456789012,example-id * ``` */ export declare class Folder extends pulumi.CustomResource { /** * Get an existing Folder resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FolderState, opts?: pulumi.CustomResourceOptions): Folder; /** * Returns true if the given object is an instance of Folder. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Folder; /** * ARN of the folder. */ readonly arn: pulumi.Output; /** * AWS account ID. Defaults to automatically determined account ID of the Terraform AWS provider. */ readonly awsAccountId: pulumi.Output; /** * The time that the folder was created. */ readonly createdTime: pulumi.Output; /** * Identifier for the folder. */ readonly folderId: pulumi.Output; /** * An array of ancestor ARN strings for the folder. Empty for root-level folders. */ readonly folderPaths: pulumi.Output; /** * The type of folder. By default, it is `SHARED`. Valid values are: `SHARED`. */ readonly folderType: pulumi.Output; /** * The time that the folder was last updated. */ readonly lastUpdatedTime: pulumi.Output; /** * Display name for the folder. * * The following arguments are optional: */ readonly name: pulumi.Output; /** * ARN for the parent folder. If not set, creates a root-level folder. */ readonly parentFolderArn: pulumi.Output; /** * A set of resource permissions on the folder. Maximum of 64 items. See permissions. */ readonly permissions: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a Folder resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FolderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Folder resources. */ export interface FolderState { /** * ARN of the folder. */ arn?: pulumi.Input; /** * AWS account ID. Defaults to automatically determined account ID of the Terraform AWS provider. */ awsAccountId?: pulumi.Input; /** * The time that the folder was created. */ createdTime?: pulumi.Input; /** * Identifier for the folder. */ folderId?: pulumi.Input; /** * An array of ancestor ARN strings for the folder. Empty for root-level folders. */ folderPaths?: pulumi.Input[] | undefined>; /** * The type of folder. By default, it is `SHARED`. Valid values are: `SHARED`. */ folderType?: pulumi.Input; /** * The time that the folder was last updated. */ lastUpdatedTime?: pulumi.Input; /** * Display name for the folder. * * The following arguments are optional: */ name?: pulumi.Input; /** * ARN for the parent folder. If not set, creates a root-level folder. */ parentFolderArn?: pulumi.Input; /** * A set of resource permissions on the folder. Maximum of 64 items. See permissions. */ permissions?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a Folder resource. */ export interface FolderArgs { /** * AWS account ID. Defaults to automatically determined account ID of the Terraform AWS provider. */ awsAccountId?: pulumi.Input; /** * Identifier for the folder. */ folderId: pulumi.Input; /** * The type of folder. By default, it is `SHARED`. Valid values are: `SHARED`. */ folderType?: pulumi.Input; /** * Display name for the folder. * * The following arguments are optional: */ name?: pulumi.Input; /** * ARN for the parent folder. If not set, creates a root-level folder. */ parentFolderArn?: pulumi.Input; /** * A set of resource permissions on the folder. Maximum of 64 items. See permissions. */ permissions?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=folder.d.ts.map