@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
102 lines (101 loc) • 3.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Note:** `awsAlbTrustStore` is known as `aws.lb.TrustStore`. The functionality is identical.
*
* Provides information about a Load Balancer Trust Store.
*
* This data source can prove useful when a module accepts an LB Trust Store as an
* input variable and needs to know its attributes. It can also be used to get the ARN of
* an LB Trust Store for use in other resources, given LB Trust Store name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const config = new pulumi.Config();
* const lbTsArn = config.get("lbTsArn") || "";
* const lbTsName = config.get("lbTsName") || "";
* const test = aws.lb.getTrustStore({
* arn: lbTsArn,
* name: lbTsName,
* });
* ```
*/
export declare function getTrustStore(args?: GetTrustStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetTrustStoreResult>;
/**
* A collection of arguments for invoking getTrustStore.
*/
export interface GetTrustStoreArgs {
/**
* Full ARN of the trust store.
*/
arn?: string;
/**
* Unique name of the trust store.
*
* > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
*/
name?: string;
/**
* 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?: string;
}
/**
* A collection of values returned by getTrustStore.
*/
export interface GetTrustStoreResult {
readonly arn: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly name: string;
readonly region: string;
}
/**
* > **Note:** `awsAlbTrustStore` is known as `aws.lb.TrustStore`. The functionality is identical.
*
* Provides information about a Load Balancer Trust Store.
*
* This data source can prove useful when a module accepts an LB Trust Store as an
* input variable and needs to know its attributes. It can also be used to get the ARN of
* an LB Trust Store for use in other resources, given LB Trust Store name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const config = new pulumi.Config();
* const lbTsArn = config.get("lbTsArn") || "";
* const lbTsName = config.get("lbTsName") || "";
* const test = aws.lb.getTrustStore({
* arn: lbTsArn,
* name: lbTsName,
* });
* ```
*/
export declare function getTrustStoreOutput(args?: GetTrustStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTrustStoreResult>;
/**
* A collection of arguments for invoking getTrustStore.
*/
export interface GetTrustStoreOutputArgs {
/**
* Full ARN of the trust store.
*/
arn?: pulumi.Input<string>;
/**
* Unique name of the trust store.
*
* > **NOTE:** When both `arn` and `name` are specified, `arn` takes precedence.
*/
name?: pulumi.Input<string>;
/**
* 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<string>;
}