Class Configuration
Manages an Amazon Managed Streaming for Kafka configuration. More information can be found on the MSK Developer Guide.
NOTE: The API does not support deleting MSK configurations. Removing this resource will only remove the this provider state for it.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Msk.Configuration("example", new Aws.Msk.ConfigurationArgs
{
KafkaVersions =
{
"2.1.0",
},
ServerProperties = @"auto.create.topics.enable = true
delete.topic.enable = true
",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Msk
Assembly: Pulumi.Aws.dll
Syntax
public class Configuration : CustomResource
Constructors
View SourceConfiguration(String, ConfigurationArgs, CustomResourceOptions)
Create a Configuration resource with the given unique name, arguments, and options.
Declaration
public Configuration(string name, ConfigurationArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConfigurationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
Amazon Resource Name (ARN) of the configuration.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Description of the configuration.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KafkaVersions
List of Apache Kafka versions which can use this configuration.
Declaration
public Output<ImmutableArray<string>> KafkaVersions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
LatestRevision
Latest revision of the configuration.
Declaration
public Output<int> LatestRevision { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Name
Name of the configuration.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServerProperties
Contents of the server.properties file. Supported properties are documented in the MSK Developer Guide.
Declaration
public Output<string> ServerProperties { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ConfigurationState, CustomResourceOptions)
Get an existing Configuration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Configuration Get(string name, Input<string> id, ConfigurationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConfigurationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Configuration |