aws logo
AWS Classic v5.41.0, May 15 23

aws.mskconnect.getCustomPlugin

Explore with Pulumi AI

Get information on an Amazon MSK Connect custom plugin.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.MskConnect.GetCustomPlugin.Invoke(new()
    {
        Name = "example-debezium-1",
    });

});
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.LookupCustomPlugin(ctx, &mskconnect.LookupCustomPluginArgs{
			Name: "example-debezium-1",
		}, 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.GetCustomPluginArgs;
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.getCustomPlugin(GetCustomPluginArgs.builder()
            .name("example-debezium-1")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.mskconnect.get_custom_plugin(name="example-debezium-1")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.mskconnect.getCustomPlugin({
    name: "example-debezium-1",
});
variables:
  example:
    fn::invoke:
      Function: aws:mskconnect:getCustomPlugin
      Arguments:
        name: example-debezium-1

Using getCustomPlugin

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 getCustomPlugin(args: GetCustomPluginArgs, opts?: InvokeOptions): Promise<GetCustomPluginResult>
function getCustomPluginOutput(args: GetCustomPluginOutputArgs, opts?: InvokeOptions): Output<GetCustomPluginResult>
def get_custom_plugin(name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetCustomPluginResult
def get_custom_plugin_output(name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetCustomPluginResult]
func LookupCustomPlugin(ctx *Context, args *LookupCustomPluginArgs, opts ...InvokeOption) (*LookupCustomPluginResult, error)
func LookupCustomPluginOutput(ctx *Context, args *LookupCustomPluginOutputArgs, opts ...InvokeOption) LookupCustomPluginResultOutput

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

public static class GetCustomPlugin 
{
    public static Task<GetCustomPluginResult> InvokeAsync(GetCustomPluginArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomPluginResult> Invoke(GetCustomPluginInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomPluginResult> getCustomPlugin(GetCustomPluginArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws:mskconnect/getCustomPlugin:getCustomPlugin
  arguments:
    # arguments dictionary

The following arguments are supported:

Name string

Name of the custom plugin.

Name string

Name of the custom plugin.

name String

Name of the custom plugin.

name string

Name of the custom plugin.

name str

Name of the custom plugin.

name String

Name of the custom plugin.

getCustomPlugin Result

The following output properties are available:

Arn string

the ARN of the custom plugin.

Description string

a summary description of the custom plugin.

Id string

The provider-assigned unique ID for this managed resource.

LatestRevision int

an ID of the latest successfully created revision of the custom plugin.

Name string
State string

the state of the custom plugin.

Arn string

the ARN of the custom plugin.

Description string

a summary description of the custom plugin.

Id string

The provider-assigned unique ID for this managed resource.

LatestRevision int

an ID of the latest successfully created revision of the custom plugin.

Name string
State string

the state of the custom plugin.

arn String

the ARN of the custom plugin.

description String

a summary description of the custom plugin.

id String

The provider-assigned unique ID for this managed resource.

latestRevision Integer

an ID of the latest successfully created revision of the custom plugin.

name String
state String

the state of the custom plugin.

arn string

the ARN of the custom plugin.

description string

a summary description of the custom plugin.

id string

The provider-assigned unique ID for this managed resource.

latestRevision number

an ID of the latest successfully created revision of the custom plugin.

name string
state string

the state of the custom plugin.

arn str

the ARN of the custom plugin.

description str

a summary description of the custom plugin.

id str

The provider-assigned unique ID for this managed resource.

latest_revision int

an ID of the latest successfully created revision of the custom plugin.

name str
state str

the state of the custom plugin.

arn String

the ARN of the custom plugin.

description String

a summary description of the custom plugin.

id String

The provider-assigned unique ID for this managed resource.

latestRevision Number

an ID of the latest successfully created revision of the custom plugin.

name String
state String

the state of the custom plugin.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.