1. Packages
  2. AWS Classic
  3. API Docs
  4. mskconnect
  5. getWorkerConfiguration

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.22.2 published on Friday, Feb 16, 2024 by Pulumi

aws.mskconnect.getWorkerConfiguration

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.22.2 published on Friday, Feb 16, 2024 by Pulumi

    Get information on an Amazon MSK Connect Worker Configuration.

    Example Usage

    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 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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mskconnect.get_worker_configuration(name="example")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.mskconnect.getWorkerConfiguration({
        name: "example",
    });
    
    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,
                                 opts: Optional[InvokeOptions] = None) -> GetWorkerConfigurationResult
    def get_worker_configuration_output(name: Optional[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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:mskconnect/getWorkerConfiguration:getWorkerConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the worker configuration.
    Name string
    Name of the worker configuration.
    name String
    Name of the worker configuration.
    name string
    Name of the worker configuration.
    name str
    Name of the worker configuration.
    name String
    Name of the worker configuration.

    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.
    LatestRevision int
    an ID of the latest successfully created revision of the worker configuration.
    Name string
    PropertiesFileContent string
    contents of connect-distributed.properties file.
    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.
    LatestRevision int
    an ID of the latest successfully created revision of the worker configuration.
    Name string
    PropertiesFileContent string
    contents of connect-distributed.properties file.
    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.
    latestRevision Integer
    an ID of the latest successfully created revision of the worker configuration.
    name String
    propertiesFileContent String
    contents of connect-distributed.properties file.
    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.
    latestRevision number
    an ID of the latest successfully created revision of the worker configuration.
    name string
    propertiesFileContent string
    contents of connect-distributed.properties file.
    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_content str
    contents of connect-distributed.properties file.
    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.
    latestRevision Number
    an ID of the latest successfully created revision of the worker configuration.
    name String
    propertiesFileContent String
    contents of connect-distributed.properties file.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.22.2 published on Friday, Feb 16, 2024 by Pulumi