@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
124 lines (123 loc) • 3.29 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up an AWS KMS connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAwsKmsConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAwsKmsConnector(args: GetAwsKmsConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsKmsConnectorResult>;
/**
* A collection of arguments for invoking getAwsKmsConnector.
*/
export interface GetAwsKmsConnectorArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Name of the resource.
*/
name?: string;
/**
* Unique identifier of the organization.
*/
orgId?: string;
/**
* Unique identifier of the project.
*/
projectId?: string;
}
/**
* A collection of values returned by getAwsKmsConnector.
*/
export interface GetAwsKmsConnectorResult {
/**
* A reference to the Harness secret containing the ARN of the AWS KMS. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
*/
readonly arnRef: string;
/**
* Credentials to connect to AWS.
*/
readonly credentials: outputs.platform.GetAwsKmsConnectorCredential[];
/**
* Tags to filter delegates for connection.
*/
readonly delegateSelectors: string[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* The AWS region where the AWS Secret Manager is.
*/
readonly region: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up an AWS KMS connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAwsKmsConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAwsKmsConnectorOutput(args: GetAwsKmsConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsKmsConnectorResult>;
/**
* A collection of arguments for invoking getAwsKmsConnector.
*/
export interface GetAwsKmsConnectorOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
/**
* Unique identifier of the organization.
*/
orgId?: pulumi.Input<string>;
/**
* Unique identifier of the project.
*/
projectId?: pulumi.Input<string>;
}