AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getConnector

Get information on an Amazon MSK Connect Connector.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.MskConnect.GetConnector.InvokeAsync(new Aws.MskConnect.GetConnectorArgs
        {
            Name = "example-mskconnector",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/mskconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := mskconnect.LookupConnector(ctx, &mskconnect.LookupConnectorArgs{
			Name: "example-mskconnector",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(MskconnectFunctions.getConnector(GetConnectorArgs.builder()
            .name("example-mskconnector")
            .build()));

    }
}
import pulumi
import pulumi_aws as aws

example = aws.mskconnect.get_connector(name="example-mskconnector")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.mskconnect.getConnector({
    name: "example-mskconnector",
}));
variables:
  example:
    Fn::Invoke:
      Function: aws:mskconnect:getConnector
      Arguments:
        name: example-mskconnector

Using getConnector

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 getConnector(args: GetConnectorArgs, opts?: InvokeOptions): Promise<GetConnectorResult>
function getConnectorOutput(args: GetConnectorOutputArgs, opts?: InvokeOptions): Output<GetConnectorResult>
def get_connector(name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetConnectorResult
def get_connector_output(name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetConnectorResult]
func LookupConnector(ctx *Context, args *LookupConnectorArgs, opts ...InvokeOption) (*LookupConnectorResult, error)
func LookupConnectorOutput(ctx *Context, args *LookupConnectorOutputArgs, opts ...InvokeOption) LookupConnectorResultOutput

> Note: This function is named LookupConnector in the Go SDK.

public static class GetConnector 
{
    public static Task<GetConnectorResult> InvokeAsync(GetConnectorArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectorResult> Invoke(GetConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectorResult> getConnector(GetConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:mskconnect/getConnector:getConnector
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Name string

Name of the connector.

Name string

Name of the connector.

name String

Name of the connector.

name string

Name of the connector.

name str

Name of the connector.

name String

Name of the connector.

getConnector Result

The following output properties are available:

Arn string

The Amazon Resource Name (ARN) of the connector.

Description string

A summary description of the connector.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Version string

The current version of the connector.

Arn string

The Amazon Resource Name (ARN) of the connector.

Description string

A summary description of the connector.

Id string

The provider-assigned unique ID for this managed resource.

Name string
Version string

The current version of the connector.

arn String

The Amazon Resource Name (ARN) of the connector.

description String

A summary description of the connector.

id String

The provider-assigned unique ID for this managed resource.

name String
version String

The current version of the connector.

arn string

The Amazon Resource Name (ARN) of the connector.

description string

A summary description of the connector.

id string

The provider-assigned unique ID for this managed resource.

name string
version string

The current version of the connector.

arn str

The Amazon Resource Name (ARN) of the connector.

description str

A summary description of the connector.

id str

The provider-assigned unique ID for this managed resource.

name str
version str

The current version of the connector.

arn String

The Amazon Resource Name (ARN) of the connector.

description String

A summary description of the connector.

id String

The provider-assigned unique ID for this managed resource.

name String
version String

The current version of the connector.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.