import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Provides a AWS Clean Rooms collaboration. * All members included in the definition will be invited to join the collaboration and can create memberships. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const testCollaboration = new aws.cleanrooms.Collaboration("test_collaboration", { * dataEncryptionMetadata: { * allowClearText: true, * allowDuplicates: true, * allowJoinsOnColumnsWithDifferentNames: true, * preserveNulls: false, * }, * members: [{ * accountId: "123456789012", * displayName: "Other member", * memberAbilities: [], * }], * name: "pulumi-example-collaboration", * creatorMemberAbilities: [ * "CAN_QUERY", * "CAN_RECEIVE_RESULTS", * ], * creatorDisplayName: "Creator ", * description: "I made this collaboration with Pulumi!", * queryLogStatus: "DISABLED", * analyticsEngine: "SPARK", * tags: { * Project: "Pulumi", * }, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `id` - (String) ID of the cleanrooms collaboration. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import `aws.cleanrooms.Collaboration` using the `id`. For example: * * ```sh * $ pulumi import aws:cleanrooms/collaboration:Collaboration collaboration 1234abcd-12ab-34cd-56ef-1234567890ab * ``` */ export declare class Collaboration extends pulumi.CustomResource { /** * Get an existing Collaboration 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?: CollaborationState, opts?: pulumi.CustomResourceOptions): Collaboration; /** * Returns true if the given object is an instance of Collaboration. 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 Collaboration; /** * Analytics engine used by the collaboration. Valid values are `CLEAN_ROOMS_SQL` (deprecated) and `SPARK`. */ readonly analyticsEngine: pulumi.Output; /** * ARN of the collaboration. */ readonly arn: pulumi.Output; /** * Date and time the collaboration was created. */ readonly createTime: pulumi.Output; /** * Name for the member record for the collaboration creator. */ readonly creatorDisplayName: pulumi.Output; /** * List of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ readonly creatorMemberAbilities: pulumi.Output; /** * Collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. See below. */ readonly dataEncryptionMetadata: pulumi.Output; /** * Description for a collaboration. */ readonly description: pulumi.Output; /** * Additional members of the collaboration which will be invited to join the collaboration. See below. */ readonly members: pulumi.Output; /** * Name of the collaboration. Collaboration names do not need to be unique. */ readonly name: pulumi.Output; /** * Whether members of the collaboration can enable query logs within their own memberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * The following arguments are optional: */ readonly queryLogStatus: 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 pairs which tag the collaboration. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Date and time the collaboration was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Collaboration 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: CollaborationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Collaboration resources. */ export interface CollaborationState { /** * Analytics engine used by the collaboration. Valid values are `CLEAN_ROOMS_SQL` (deprecated) and `SPARK`. */ analyticsEngine?: pulumi.Input; /** * ARN of the collaboration. */ arn?: pulumi.Input; /** * Date and time the collaboration was created. */ createTime?: pulumi.Input; /** * Name for the member record for the collaboration creator. */ creatorDisplayName?: pulumi.Input; /** * List of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ creatorMemberAbilities?: pulumi.Input[] | undefined>; /** * Collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. See below. */ dataEncryptionMetadata?: pulumi.Input; /** * Description for a collaboration. */ description?: pulumi.Input; /** * Additional members of the collaboration which will be invited to join the collaboration. See below. */ members?: pulumi.Input[] | undefined>; /** * Name of the collaboration. Collaboration names do not need to be unique. */ name?: pulumi.Input; /** * Whether members of the collaboration can enable query logs within their own memberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * The following arguments are optional: */ queryLogStatus?: pulumi.Input; /** * 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 pairs which tag the collaboration. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Date and time the collaboration was last updated. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a Collaboration resource. */ export interface CollaborationArgs { /** * Analytics engine used by the collaboration. Valid values are `CLEAN_ROOMS_SQL` (deprecated) and `SPARK`. */ analyticsEngine?: pulumi.Input; /** * Name for the member record for the collaboration creator. */ creatorDisplayName: pulumi.Input; /** * List of member abilities for the creator of the collaboration. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-creatorMemberAbilities). */ creatorMemberAbilities: pulumi.Input[]>; /** * Collection of settings which determine how the [c3r client](https://docs.aws.amazon.com/clean-rooms/latest/userguide/crypto-computing.html) will encrypt data for use within this collaboration. See below. */ dataEncryptionMetadata?: pulumi.Input; /** * Description for a collaboration. */ description: pulumi.Input; /** * Additional members of the collaboration which will be invited to join the collaboration. See below. */ members?: pulumi.Input[] | undefined>; /** * Name of the collaboration. Collaboration names do not need to be unique. */ name?: pulumi.Input; /** * Whether members of the collaboration can enable query logs within their own memberships. Valid values [may be found here](https://docs.aws.amazon.com/clean-rooms/latest/apireference/API_CreateCollaboration.html#API-CreateCollaboration-request-queryLogStatus). * * The following arguments are optional: */ queryLogStatus: pulumi.Input; /** * 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 pairs which tag the collaboration. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=collaboration.d.ts.map