UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

136 lines (135 loc) 3.89 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Datasource for looking up an AWS connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getAwsConnector({ * identifier: "identifier", * }); * ``` */ export declare function getAwsConnector(args: GetAwsConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsConnectorResult>; /** * A collection of arguments for invoking getAwsConnector. */ export interface GetAwsConnectorArgs { /** * 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 getAwsConnector. */ export interface GetAwsConnectorResult { /** * Select this option if you want to use one AWS account for the connection, but you want to deploy or build in a different AWS account. In this scenario, the AWS account used for AWS access in Credentials will assume the IAM role you specify in Cross-account role ARN setting. This option uses the AWS Security Token Service (STS) feature. */ readonly crossAccountAccesses: outputs.platform.GetAwsConnectorCrossAccountAccess[]; /** * Description of the resource. */ readonly description: string; /** * Equal Jitter BackOff Strategy. */ readonly equalJitterBackoffStrategies: outputs.platform.GetAwsConnectorEqualJitterBackoffStrategy[]; /** * Fixed Delay BackOff Strategy. */ readonly fixedDelayBackoffStrategies: outputs.platform.GetAwsConnectorFixedDelayBackoffStrategy[]; /** * Full Jitter BackOff Strategy. */ readonly fullJitterBackoffStrategies: outputs.platform.GetAwsConnectorFullJitterBackoffStrategy[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Unique identifier of the resource. */ readonly identifier: string; /** * Inherit credentials from the delegate. */ readonly inheritFromDelegates: outputs.platform.GetAwsConnectorInheritFromDelegate[]; /** * Use IAM role for service accounts. */ readonly irsas: outputs.platform.GetAwsConnectorIrsa[]; /** * Use IAM role for service accounts. */ readonly manuals: outputs.platform.GetAwsConnectorManual[]; /** * Name of the resource. */ readonly name?: string; /** * Unique identifier of the organization. */ readonly orgId?: string; /** * Unique identifier of the project. */ readonly projectId?: string; /** * Tags to associate with the resource. */ readonly tags: string[]; } /** * Datasource for looking up an AWS connector. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getAwsConnector({ * identifier: "identifier", * }); * ``` */ export declare function getAwsConnectorOutput(args: GetAwsConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsConnectorResult>; /** * A collection of arguments for invoking getAwsConnector. */ export interface GetAwsConnectorOutputArgs { /** * 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>; }