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
LookupConfigurationin the Go SDK.
public static class GetConfiguration {
public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
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.
- Kafka
Versions List<string> List of Apache Kafka versions which can use this configuration.
- Latest
Revision int Latest revision of the configuration.
- Name string
- Server
Properties 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.
- Kafka
Versions []string List of Apache Kafka versions which can use this configuration.
- Latest
Revision int Latest revision of the configuration.
- Name string
- Server
Properties 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.
- kafka
Versions string[] List of Apache Kafka versions which can use this configuration.
- latest
Revision number Latest revision of the configuration.
- name string
- server
Properties 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
awsTerraform Provider.