aws_msk_clusterNivis Nix constructor for the aws_msk_cluster resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
cluster_name,
kafka_version,
number_of_broker_nodes,
enhanced_monitoring ? null,
id ? null,
region ? null,
storage_mode ? null,
tags ? null,
tags_all ? null,
broker_node_group_info ? null,
client_authentication ? null,
configuration_info ? null,
encryption_info ? null,
logging_info ? null,
open_monitoring ? null,
rebalancing ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cluster_namekafka_versionnumber_of_broker_nodes
Optional arguments
enhanced_monitoring(defaults tonull)id(defaults tonull)region(defaults tonull)storage_mode(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)broker_node_group_info(defaults tonull)client_authentication(defaults tonull)configuration_info(defaults tonull)encryption_info(defaults tonull)logging_info(defaults tonull)open_monitoring(defaults tonull)rebalancing(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arnbootstrap_brokersbootstrap_brokers_ipv6bootstrap_brokers_public_sasl_iambootstrap_brokers_public_sasl_scrambootstrap_brokers_public_tlsbootstrap_brokers_sasl_iambootstrap_brokers_sasl_iam_ipv6bootstrap_brokers_sasl_scrambootstrap_brokers_sasl_scram_ipv6bootstrap_brokers_tlsbootstrap_brokers_tls_ipv6bootstrap_brokers_vpc_connectivity_sasl_iambootstrap_brokers_vpc_connectivity_sasl_scrambootstrap_brokers_vpc_connectivity_tlscluster_uuidcurrent_versioncustomer_action_statuszookeeper_connect_stringzookeeper_connect_string_tls
Example
aws_msk_cluster {
name = "msk_cluster";
cluster_name = …; # required
kafka_version = …; # required
number_of_broker_nodes = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.