We recommend new projects start with resources from the AWS provider.
aws-native.msk.Configuration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::MSK::Configuration
Create Configuration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Configuration(name: string, args: ConfigurationArgs, opts?: CustomResourceOptions);
@overload
def Configuration(resource_name: str,
args: ConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Configuration(resource_name: str,
opts: Optional[ResourceOptions] = None,
server_properties: Optional[str] = None,
description: Optional[str] = None,
kafka_versions_list: Optional[Sequence[str]] = None,
latest_revision: Optional[ConfigurationLatestRevisionArgs] = None,
name: Optional[str] = None)
func NewConfiguration(ctx *Context, name string, args ConfigurationArgs, opts ...ResourceOption) (*Configuration, error)
public Configuration(string name, ConfigurationArgs args, CustomResourceOptions? opts = null)
public Configuration(String name, ConfigurationArgs args)
public Configuration(String name, ConfigurationArgs args, CustomResourceOptions options)
type: aws-native:msk:Configuration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Configuration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Configuration resource accepts the following input properties:
- Server
Properties string - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - Description string
- The description of the configuration.
- Kafka
Versions List<string>List The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- Latest
Revision Pulumi.Aws Native. Msk. Inputs. Configuration Latest Revision - Latest revision of the MSK configuration.
- Name string
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- Server
Properties string - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - Description string
- The description of the configuration.
- Kafka
Versions []stringList The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- Latest
Revision ConfigurationLatest Revision Args - Latest revision of the MSK configuration.
- Name string
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- server
Properties String - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - description String
- The description of the configuration.
- kafka
Versions List<String>List The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- latest
Revision ConfigurationLatest Revision - Latest revision of the MSK configuration.
- name String
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- server
Properties string - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - description string
- The description of the configuration.
- kafka
Versions string[]List The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- latest
Revision ConfigurationLatest Revision - Latest revision of the MSK configuration.
- name string
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- server_
properties str - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - description str
- The description of the configuration.
- kafka_
versions_ Sequence[str]list The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- latest_
revision ConfigurationLatest Revision Args - Latest revision of the MSK configuration.
- name str
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
- server
Properties String - Contents of the
server.properties
file. When using this property, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the AWS CLI , the contents ofserver.properties
can be in plaintext. - description String
- The description of the configuration.
- kafka
Versions List<String>List The versions of Apache Kafka with which you can use this MSK configuration.
When you update the
KafkaVersionsList
property, AWS CloudFormation recreates a new configuration with the updated property before deleting the old configuration. Such an update requires a resource replacement . To successfully updateKafkaVersionsList
, you must also update theName
property in the same operation.If your configuration is attached with any clusters created using the AWS Management Console or AWS CLI , you'll need to manually delete the old configuration from the console after the update completes.
For more information, see Can’t update KafkaVersionsList in MSK configuration in the Amazon MSK Developer Guide .
- latest
Revision Property Map - Latest revision of the MSK configuration.
- name String
- The name of the configuration. Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".
Outputs
All input properties are implicitly available as output properties. Additionally, the Configuration resource produces the following output properties:
Supporting Types
ConfigurationLatestRevision, ConfigurationLatestRevisionArgs
- Creation
Time string - The time when the configuration revision was created.
- Description string
- The description of the configuration revision.
- Revision int
- The revision number.
- Creation
Time string - The time when the configuration revision was created.
- Description string
- The description of the configuration revision.
- Revision int
- The revision number.
- creation
Time String - The time when the configuration revision was created.
- description String
- The description of the configuration revision.
- revision Integer
- The revision number.
- creation
Time string - The time when the configuration revision was created.
- description string
- The description of the configuration revision.
- revision number
- The revision number.
- creation_
time str - The time when the configuration revision was created.
- description str
- The description of the configuration revision.
- revision int
- The revision number.
- creation
Time String - The time when the configuration revision was created.
- description String
- The description of the configuration revision.
- revision Number
- The revision number.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.