GetConfiguration

Get information on an Amazon MSK Configuration.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.Msk.GetConfiguration.InvokeAsync(new Aws.Msk.GetConfigurationArgs
        {
            Name = "example",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/msk"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := msk.LookupConfiguration(ctx, &msk.LookupConfigurationArgs{
            Name: "example",
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

example = aws.msk.get_configuration(name="example")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.msk.getConfiguration({
    name: "example",
}, { async: true }));

Using GetConfiguration

function getConfiguration(args: GetConfigurationArgs, opts?: InvokeOptions): Promise<GetConfigurationResult>
function  get_configuration(name=None, opts=None)
func LookupConfiguration(ctx *Context, args *LookupConfigurationArgs, opts ...InvokeOption) (*LookupConfigurationResult, error)

Note: This function is named LookupConfiguration in the Go SDK.

public static class GetConfiguration {
    public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

Name of the configuration.

Name string

Name of the configuration.

name string

Name of the configuration.

name str

Name of the configuration.

GetConfiguration Result

The following output properties are available:

Arn string

Amazon Resource Name (ARN) of the configuration.

Description string

Description of the configuration.

Id string

The provider-assigned unique ID for this managed resource.

KafkaVersions List<string>

List of Apache Kafka versions which can use this configuration.

LatestRevision int

Latest revision of the configuration.

Name string
ServerProperties string

Contents of the server.properties file.

Arn string

Amazon Resource Name (ARN) of the configuration.

Description string

Description of the configuration.

Id string

The provider-assigned unique ID for this managed resource.

KafkaVersions []string

List of Apache Kafka versions which can use this configuration.

LatestRevision int

Latest revision of the configuration.

Name string
ServerProperties string

Contents of the server.properties file.

arn string

Amazon Resource Name (ARN) of the configuration.

description string

Description of the configuration.

id string

The provider-assigned unique ID for this managed resource.

kafkaVersions string[]

List of Apache Kafka versions which can use this configuration.

latestRevision number

Latest revision of the configuration.

name string
serverProperties string

Contents of the server.properties file.

arn str

Amazon Resource Name (ARN) of the configuration.

description str

Description of the configuration.

id str

The provider-assigned unique ID for this managed resource.

kafka_versions List[str]

List of Apache Kafka versions which can use this configuration.

latest_revision float

Latest revision of the configuration.

name str
server_properties str

Contents of the server.properties file.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.