AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi
aws.msk.getConfiguration
Explore with Pulumi AI
Get information on an Amazon MSK Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.msk.getConfiguration({
name: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.msk.get_configuration(name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/msk"
"github.com/pulumi/pulumi/sdk/v3/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Msk.GetConfiguration.Invoke(new()
{
Name = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.MskFunctions;
import com.pulumi.aws.msk.inputs.GetConfigurationArgs;
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 = MskFunctions.getConfiguration(GetConfigurationArgs.builder()
.name("example")
.build());
}
}
variables:
example:
fn::invoke:
Function: aws:msk:getConfiguration
Arguments:
name: example
Using getConfiguration
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 getConfiguration(args: GetConfigurationArgs, opts?: InvokeOptions): Promise<GetConfigurationResult>
function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: InvokeOptions): Output<GetConfigurationResult>
def get_configuration(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigurationResult
def get_configuration_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationResult]
func LookupConfiguration(ctx *Context, args *LookupConfigurationArgs, opts ...InvokeOption) (*LookupConfigurationResult, error)
func LookupConfigurationOutput(ctx *Context, args *LookupConfigurationOutputArgs, opts ...InvokeOption) LookupConfigurationResultOutput
> Note: This function is named LookupConfiguration
in the Go SDK.
public static class GetConfiguration
{
public static Task<GetConfigurationResult> InvokeAsync(GetConfigurationArgs args, InvokeOptions? opts = null)
public static Output<GetConfigurationResult> Invoke(GetConfigurationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigurationResult> getConfiguration(GetConfigurationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:msk/getConfiguration:getConfiguration
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the configuration.
- Name string
- Name of the configuration.
- name String
- Name of the configuration.
- name string
- Name of the configuration.
- name str
- Name of the configuration.
- name String
- Name of the configuration.
getConfiguration Result
The following output properties are available:
- Arn string
- 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
- 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
- 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 Integer - Latest revision of the configuration.
- name String
- server
Properties String - Contents of the server.properties file.
- arn string
- 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
- ARN of the configuration.
- description str
- Description of the configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- kafka_
versions Sequence[str] - List of Apache Kafka versions which can use this configuration.
- latest_
revision int - Latest revision of the configuration.
- name str
- server_
properties str - Contents of the server.properties file.
- arn String
- 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 Number - Latest revision of the configuration.
- name String
- server
Properties String - Contents of the server.properties file.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.