import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../types"; /** * ## ---layout: "vra" * * page_title: "VMware vRealize Automation: vra.cloudaccount.Aws" * description: |- * Provides a data lookup for vra_cloud_account_aws. * --- * * # Data Source: vra\_cloud\_account\_aws * * Provides a VMware vRA vra.cloudaccount.Aws data source. * * ## Example Usage * ### S * * **AWS cloud account data source by its id:** * * This is an example of how to read the cloud account data source using its id. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.cloudaccount.getAws({ * id: _var.vra_cloud_account_aws_id, * }); * ``` * * **AWS cloud account data source by its name:** * * This is an example of how to read the cloud account data source using its name. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vra from "@pulumi/vra"; * * const this = vra.cloudaccount.getAws({ * name: _var.vra_cloud_account_aws_name, * }); * ``` */ export declare function getAws(args?: GetAwsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAws. */ export interface GetAwsArgs { /** * The id of this AWS cloud account. */ id?: string; /** * The name of this AWS cloud account. */ name?: string; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: inputs.cloudaccount.GetAwsTag[]; } /** * A collection of values returned by getAws. */ export interface GetAwsResult { /** * Access key id for Aws. */ readonly accessKey: string; /** * Date when the entity was created. The date is in ISO 6801 and UTC. */ readonly createdAt: string; /** * A human-friendly description. */ readonly description: string; readonly id: string; /** * HATEOAS of the entity. */ readonly links: outputs.cloudaccount.GetAwsLink[]; readonly name: string; /** * The id of the organization this entity belongs to. */ readonly orgId: string; /** * Email of the user that owns the entity. */ readonly owner: string; /** * A set of region names that are enabled for this account. */ readonly regions: string[]; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ readonly tags: outputs.cloudaccount.GetAwsTag[]; /** * Date when the entity was last updated. The date is ISO 8601 and UTC. */ readonly updatedAt: string; } export declare function getAwsOutput(args?: GetAwsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getAws. */ export interface GetAwsOutputArgs { /** * The id of this AWS cloud account. */ id?: pulumi.Input; /** * The name of this AWS cloud account. */ name?: pulumi.Input; /** * A set of tag keys and optional values that were set on this resource. * example:[ { "key" : "vmware", "value": "provider" } ] */ tags?: pulumi.Input[]>; }