import * as pulumi from "@pulumi/pulumi"; /** * Manages an AWS DevOps Agent Space. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.devopsagent.AgentSpace("example", {name: "my-agent-space"}); * ``` * * ### With Description and Tags * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.devopsagent.AgentSpace("example", { * name: "my-agent-space", * description: "An example agent space", * tags: { * Environment: "production", * }, * }); * ``` * * ### With KMS Encryption * * The KMS key must allow the calling identity and the DevOps Agent service principal to use it. Configure the key policy as described in the [AWS DevOps Agent encryption documentation](https://docs.aws.amazon.com/devopsagent/latest/userguide/aws-devops-agent-security-encryption-at-rest-for-devops-agent.html#step-2-set-the-key-policy) before using this example. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.devopsagent.AgentSpace("example", { * name: "my-agent-space", * kmsKeyArn: exampleAwsKmsKey.arn, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `agentSpaceId` (String) Unique identifier of the Agent Space. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import DevOps Agent Space using the `agentSpaceId`. For example: * * ```sh * $ pulumi import aws:devopsagent/agentSpace:AgentSpace example 08975e27-f587-49ca-b7b8-2e1019783803 * ``` */ export declare class AgentSpace extends pulumi.CustomResource { /** * Get an existing AgentSpace 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?: AgentSpaceState, opts?: pulumi.CustomResourceOptions): AgentSpace; /** * Check whether an existing AgentSpace resource with the given ID exists. * * @param id The _unique_ provider ID of the resource to check. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static exists(id: pulumi.Input, state?: AgentSpaceState, opts?: pulumi.CustomResourceOptions): pulumi.Output; /** * Returns true if the given object is an instance of AgentSpace. 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 AgentSpace; /** * Unique identifier of the Agent Space. */ readonly agentSpaceId: pulumi.Output; /** * ARN of the Agent Space. */ readonly arn: pulumi.Output; /** * Timestamp when the Agent Space was created. */ readonly createdAt: pulumi.Output; /** * Description of the Agent Space. */ readonly description: pulumi.Output; /** * ARN of the AWS KMS key used to encrypt resources. Forces new resource. */ readonly kmsKeyArn: pulumi.Output; /** * Locale for the Agent Space, which determines the language used in agent responses (e.g., `en`). */ readonly locale: pulumi.Output; /** * Name of the Agent Space. * * The following arguments are optional: */ readonly name: 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; /** * Map of tags assigned to the resource. 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>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Timestamp when the Agent Space was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a AgentSpace 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?: AgentSpaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AgentSpace resources. */ export interface AgentSpaceState { /** * Unique identifier of the Agent Space. */ agentSpaceId?: pulumi.Input; /** * ARN of the Agent Space. */ arn?: pulumi.Input; /** * Timestamp when the Agent Space was created. */ createdAt?: pulumi.Input; /** * Description of the Agent Space. */ description?: pulumi.Input; /** * ARN of the AWS KMS key used to encrypt resources. Forces new resource. */ kmsKeyArn?: pulumi.Input; /** * Locale for the Agent Space, which determines the language used in agent responses (e.g., `en`). */ locale?: pulumi.Input; /** * Name of the Agent Space. * * The following arguments are optional: */ name?: 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; /** * Map of tags assigned to the resource. 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>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Timestamp when the Agent Space was last updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a AgentSpace resource. */ export interface AgentSpaceArgs { /** * Description of the Agent Space. */ description?: pulumi.Input; /** * ARN of the AWS KMS key used to encrypt resources. Forces new resource. */ kmsKeyArn?: pulumi.Input; /** * Locale for the Agent Space, which determines the language used in agent responses (e.g., `en`). */ locale?: pulumi.Input; /** * Name of the Agent Space. * * The following arguments are optional: */ name?: 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; /** * Map of tags assigned to the resource. 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=agentSpace.d.ts.map