UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

103 lines (102 loc) 2.96 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information on an Amazon MSK Connect Worker Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.mskconnect.getWorkerConfiguration({ * name: "example", * }); * ``` */ export declare function getWorkerConfiguration(args: GetWorkerConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkerConfigurationResult>; /** * A collection of arguments for invoking getWorkerConfiguration. */ export interface GetWorkerConfigurationArgs { /** * Name of the worker configuration. */ 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 map of tags assigned to the resource. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getWorkerConfiguration. */ export interface GetWorkerConfigurationResult { /** * the ARN of the worker configuration. */ readonly arn: string; /** * a summary description of the worker configuration. */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * an ID of the latest successfully created revision of the worker configuration. */ readonly latestRevision: number; readonly name: string; /** * contents of connect-distributed.properties file. */ readonly propertiesFileContent: string; readonly region: string; /** * A map of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Get information on an Amazon MSK Connect Worker Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.mskconnect.getWorkerConfiguration({ * name: "example", * }); * ``` */ export declare function getWorkerConfigurationOutput(args: GetWorkerConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkerConfigurationResult>; /** * A collection of arguments for invoking getWorkerConfiguration. */ export interface GetWorkerConfigurationOutputArgs { /** * Name of the worker configuration. */ 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>; /** * A map of tags assigned to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }