@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
128 lines (127 loc) • 3.44 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up an AWS Cloud Cost connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAwsCCConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAwsCCConnector(args: GetAwsCCConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsCCConnectorResult>;
/**
* A collection of arguments for invoking getAwsCCConnector.
*/
export interface GetAwsCCConnectorArgs {
/**
* 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 getAwsCCConnector.
*/
export interface GetAwsCCConnectorResult {
/**
* The AWS account id.
*/
readonly accountId: string;
/**
* Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
*/
readonly crossAccountAccesses: outputs.platform.GetAwsCCConnectorCrossAccountAccess[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
*/
readonly featuresEnableds: 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 cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
*/
readonly reportName: string;
/**
* The name of s3 bucket.
*/
readonly s3Bucket: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up an AWS Cloud Cost connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAwsCCConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAwsCCConnectorOutput(args: GetAwsCCConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsCCConnectorResult>;
/**
* A collection of arguments for invoking getAwsCCConnector.
*/
export interface GetAwsCCConnectorOutputArgs {
/**
* 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>;
}