@pierskarsenbarg/sdm
Version:
A Pulumi package for creating and managing StrongDM cloud resources.
225 lines • 7.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* A Connector configures scanning for a given system.
*/
export declare function getConnector(args?: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorResult>;
/**
* A collection of arguments for invoking getConnector.
*/
export interface GetConnectorArgs {
/**
* AccountIds is the list of AWS Accounts to scan
*/
accountIds?: string;
/**
* ClientId is the ID of the Application / Service Account we're acting as
*/
clientId?: string;
/**
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
*/
cloud?: string;
/**
* Description of the Connector.
*/
description?: string;
/**
* Unique identifier of the Connector.
*/
id?: string;
/**
* Unique human-readable name of the Connector.
*/
name?: string;
/**
* ProjectIds is the list of GCP Projects the connector will scan
*/
projectIds?: string;
/**
* RoleName is the Role we're assuming into for an account
*/
roleName?: string;
/**
* ScanPeriod identifies which remote system this Connector discovers
*/
scanPeriod?: string;
/**
* Services is a list of services this connector should scan.
*/
services?: string;
/**
* SubscriptionIds are the targets of discovery.
*/
subscriptionIds?: string;
/**
* TenantId is the Azure Tenant we're discovering in
*/
tenantId?: string;
/**
* WorkloadPoolId is the GCP Workload Pool Identifier used to authenticate our JWT
*/
workloadPoolId?: string;
/**
* WorkloadProjectId is the GCP Project ID where the Workload Pool is defined
*/
workloadProjectId?: string;
/**
* WorkloadProjectNumber is the GCP Project Number where the Workload Pool is defined
*/
workloadProjectNumber?: string;
/**
* WorkloadProviderId is the GCP Workload Provider Identifier used to authenticate our JWT
*/
workloadProviderId?: string;
}
/**
* A collection of values returned by getConnector.
*/
export interface GetConnectorResult {
/**
* AccountIds is the list of AWS Accounts to scan
*/
readonly accountIds?: string;
/**
* ClientId is the ID of the Application / Service Account we're acting as
*/
readonly clientId?: string;
readonly cloud?: string;
/**
* Description of the Connector.
*/
readonly description?: string;
/**
* A single element list containing a map, where each key lists one of the following objects:
* * aws:
*/
readonly discoveryConnectors: outputs.GetConnectorDiscoveryConnector[];
/**
* Unique identifier of the Connector.
*/
readonly id?: string;
/**
* a list of strings of ids of data sources that match the given arguments.
*/
readonly ids: string[];
/**
* Unique human-readable name of the Connector.
*/
readonly name?: string;
/**
* ProjectIds is the list of GCP Projects the connector will scan
*/
readonly projectIds?: string;
/**
* RoleName is the Role we're assuming into for an account
*/
readonly roleName?: string;
/**
* ScanPeriod identifies which remote system this Connector discovers
*/
readonly scanPeriod?: string;
/**
* Services is a list of services this connector should scan.
*/
readonly services?: string;
/**
* SubscriptionIds are the targets of discovery.
*/
readonly subscriptionIds?: string;
/**
* TenantId is the Azure Tenant we're discovering in
* * gcp:
*/
readonly tenantId?: string;
/**
* WorkloadPoolId is the GCP Workload Pool Identifier used to authenticate our JWT
*/
readonly workloadPoolId?: string;
/**
* WorkloadProjectId is the GCP Project ID where the Workload Pool is defined
*/
readonly workloadProjectId?: string;
/**
* WorkloadProjectNumber is the GCP Project Number where the Workload Pool is defined
*/
readonly workloadProjectNumber?: string;
/**
* WorkloadProviderId is the GCP Workload Provider Identifier used to authenticate our JWT
*/
readonly workloadProviderId?: string;
}
/**
* A Connector configures scanning for a given system.
*/
export declare function getConnectorOutput(args?: GetConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorResult>;
/**
* A collection of arguments for invoking getConnector.
*/
export interface GetConnectorOutputArgs {
/**
* AccountIds is the list of AWS Accounts to scan
*/
accountIds?: pulumi.Input<string | undefined>;
/**
* ClientId is the ID of the Application / Service Account we're acting as
*/
clientId?: pulumi.Input<string | undefined>;
/**
* a filter to select all items of a certain subtype. See the [filter documentation](https://docs.strongdm.com/references/cli/filters/) for more information.
*/
cloud?: pulumi.Input<string | undefined>;
/**
* Description of the Connector.
*/
description?: pulumi.Input<string | undefined>;
/**
* Unique identifier of the Connector.
*/
id?: pulumi.Input<string | undefined>;
/**
* Unique human-readable name of the Connector.
*/
name?: pulumi.Input<string | undefined>;
/**
* ProjectIds is the list of GCP Projects the connector will scan
*/
projectIds?: pulumi.Input<string | undefined>;
/**
* RoleName is the Role we're assuming into for an account
*/
roleName?: pulumi.Input<string | undefined>;
/**
* ScanPeriod identifies which remote system this Connector discovers
*/
scanPeriod?: pulumi.Input<string | undefined>;
/**
* Services is a list of services this connector should scan.
*/
services?: pulumi.Input<string | undefined>;
/**
* SubscriptionIds are the targets of discovery.
*/
subscriptionIds?: pulumi.Input<string | undefined>;
/**
* TenantId is the Azure Tenant we're discovering in
*/
tenantId?: pulumi.Input<string | undefined>;
/**
* WorkloadPoolId is the GCP Workload Pool Identifier used to authenticate our JWT
*/
workloadPoolId?: pulumi.Input<string | undefined>;
/**
* WorkloadProjectId is the GCP Project ID where the Workload Pool is defined
*/
workloadProjectId?: pulumi.Input<string | undefined>;
/**
* WorkloadProjectNumber is the GCP Project Number where the Workload Pool is defined
*/
workloadProjectNumber?: pulumi.Input<string | undefined>;
/**
* WorkloadProviderId is the GCP Workload Provider Identifier used to authenticate our JWT
*/
workloadProviderId?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getConnector.d.ts.map