Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Get information on an Amazon MSK Connect Worker Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.mskconnect.getWorkerConfiguration({
name: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.mskconnect.get_worker_configuration(name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/mskconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mskconnect.LookupWorkerConfiguration(ctx, &mskconnect.LookupWorkerConfigurationArgs{
Name: "example",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.MskConnect.GetWorkerConfiguration.Invoke(new()
{
Name = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.mskconnect.MskconnectFunctions;
import com.pulumi.aws.mskconnect.inputs.GetWorkerConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = MskconnectFunctions.getWorkerConfiguration(GetWorkerConfigurationArgs.builder()
.name("example")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:mskconnect:getWorkerConfiguration
arguments:
name: example
Using getWorkerConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkerConfiguration(args: GetWorkerConfigurationArgs, opts?: InvokeOptions): Promise<GetWorkerConfigurationResult>
function getWorkerConfigurationOutput(args: GetWorkerConfigurationOutputArgs, opts?: InvokeOptions): Output<GetWorkerConfigurationResult>def get_worker_configuration(name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkerConfigurationResult
def get_worker_configuration_output(name: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkerConfigurationResult]func LookupWorkerConfiguration(ctx *Context, args *LookupWorkerConfigurationArgs, opts ...InvokeOption) (*LookupWorkerConfigurationResult, error)
func LookupWorkerConfigurationOutput(ctx *Context, args *LookupWorkerConfigurationOutputArgs, opts ...InvokeOption) LookupWorkerConfigurationResultOutput> Note: This function is named LookupWorkerConfiguration in the Go SDK.
public static class GetWorkerConfiguration
{
public static Task<GetWorkerConfigurationResult> InvokeAsync(GetWorkerConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetWorkerConfigurationResult> Invoke(GetWorkerConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkerConfigurationResult> getWorkerConfiguration(GetWorkerConfigurationArgs args, InvokeOptions options)
public static Output<GetWorkerConfigurationResult> getWorkerConfiguration(GetWorkerConfigurationArgs args, InvokeOptions options)
fn::invoke:
function: aws:mskconnect/getWorkerConfiguration:getWorkerConfiguration
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Name of the worker configuration.
- Dictionary<string, string>
- A map of tags assigned to the resource.
- Name string
- Name of the worker configuration.
- map[string]string
- A map of tags assigned to the resource.
- name String
- Name of the worker configuration.
- Map<String,String>
- A map of tags assigned to the resource.
- name string
- Name of the worker configuration.
- {[key: string]: string}
- A map of tags assigned to the resource.
- name str
- Name of the worker configuration.
- Mapping[str, str]
- A map of tags assigned to the resource.
- name String
- Name of the worker configuration.
- Map<String>
- A map of tags assigned to the resource.
getWorkerConfiguration Result
The following output properties are available:
- Arn string
- the ARN of the worker configuration.
- Description string
- a summary description of the worker configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision int - an ID of the latest successfully created revision of the worker configuration.
- Name string
- Properties
File stringContent - contents of connect-distributed.properties file.
- Dictionary<string, string>
- A map of tags assigned to the resource.
- Arn string
- the ARN of the worker configuration.
- Description string
- a summary description of the worker configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Revision int - an ID of the latest successfully created revision of the worker configuration.
- Name string
- Properties
File stringContent - contents of connect-distributed.properties file.
- map[string]string
- A map of tags assigned to the resource.
- arn String
- the ARN of the worker configuration.
- description String
- a summary description of the worker configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision Integer - an ID of the latest successfully created revision of the worker configuration.
- name String
- properties
File StringContent - contents of connect-distributed.properties file.
- Map<String,String>
- A map of tags assigned to the resource.
- arn string
- the ARN of the worker configuration.
- description string
- a summary description of the worker configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Revision number - an ID of the latest successfully created revision of the worker configuration.
- name string
- properties
File stringContent - contents of connect-distributed.properties file.
- {[key: string]: string}
- A map of tags assigned to the resource.
- arn str
- the ARN of the worker configuration.
- description str
- a summary description of the worker configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
revision int - an ID of the latest successfully created revision of the worker configuration.
- name str
- properties_
file_ strcontent - contents of connect-distributed.properties file.
- Mapping[str, str]
- A map of tags assigned to the resource.
- arn String
- the ARN of the worker configuration.
- description String
- a summary description of the worker configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Revision Number - an ID of the latest successfully created revision of the worker configuration.
- name String
- properties
File StringContent - contents of connect-distributed.properties file.
- Map<String>
- A map of tags assigned to the resource.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
