1. Packages
  2. AWS
  3. API Docs
  4. mskconnect
  5. getCustomPlugin
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.mskconnect.getCustomPlugin

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Get information on an Amazon MSK Connect custom plugin.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.mskconnect.getCustomPlugin({
        name: "example-debezium-1",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mskconnect.get_custom_plugin(name="example-debezium-1")
    
    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.LookupCustomPlugin(ctx, &mskconnect.LookupCustomPluginArgs{
    			Name: "example-debezium-1",
    		}, 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.GetCustomPlugin.Invoke(new()
        {
            Name = "example-debezium-1",
        });
    
    });
    
    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());
    
        }
    }
    
    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,
                          tags: Optional[Mapping[str, str]] = None,
                          opts: Optional[InvokeOptions] = None) -> GetCustomPluginResult
    def get_custom_plugin_output(name: Optional[pulumi.Input[str]] = None,
                          tags: Optional[pulumi.Input[Mapping[str, 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.
    Tags Dictionary<string, string>
    A map of tags assigned to the resource.
    Name string
    Name of the custom plugin.
    Tags map[string]string
    A map of tags assigned to the resource.
    name String
    Name of the custom plugin.
    tags Map<String,String>
    A map of tags assigned to the resource.
    name string
    Name of the custom plugin.
    tags {[key: string]: string}
    A map of tags assigned to the resource.
    name str
    Name of the custom plugin.
    tags Mapping[str, str]
    A map of tags assigned to the resource.
    name String
    Name of the custom plugin.
    tags Map<String>
    A map of tags assigned to the resource.

    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.
    Tags Dictionary<string, string>
    A map of tags assigned to the resource.
    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.
    Tags map[string]string
    A map of tags assigned to the resource.
    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.
    tags Map<String,String>
    A map of tags assigned to the resource.
    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.
    tags {[key: string]: string}
    A map of tags assigned to the resource.
    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.
    tags Mapping[str, str]
    A map of tags assigned to the resource.
    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.
    tags 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 aws Terraform Provider.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi