1. Packages
  2. AWS
  3. API Docs
  4. msk
  5. ServerlessCluster
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.msk.ServerlessCluster

Explore with Pulumi AI

Manages an Amazon MSK Serverless cluster.

Note: To manage a provisioned Amazon MSK cluster, use the aws.msk.Cluster resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.msk.ServerlessCluster("example", {
    clusterName: "Example",
    vpcConfigs: [{
        subnetIds: exampleAwsSubnet.map(__item => __item.id),
        securityGroupIds: [exampleAwsSecurityGroup.id],
    }],
    clientAuthentication: {
        sasl: {
            iam: {
                enabled: true,
            },
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.msk.ServerlessCluster("example",
    cluster_name="Example",
    vpc_configs=[{
        "subnet_ids": [__item["id"] for __item in example_aws_subnet],
        "security_group_ids": [example_aws_security_group["id"]],
    }],
    client_authentication={
        "sasl": {
            "iam": {
                "enabled": True,
            },
        },
    })
Copy
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.NewServerlessCluster(ctx, "example", &msk.ServerlessClusterArgs{
ClusterName: pulumi.String("Example"),
VpcConfigs: msk.ServerlessClusterVpcConfigArray{
&msk.ServerlessClusterVpcConfigArgs{
SubnetIds: []pulumi.String(%!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:3,24-46)),
SecurityGroupIds: pulumi.StringArray{
exampleAwsSecurityGroup.Id,
},
},
},
ClientAuthentication: &msk.ServerlessClusterClientAuthenticationArgs{
Sasl: &msk.ServerlessClusterClientAuthenticationSaslArgs{
Iam: &msk.ServerlessClusterClientAuthenticationSaslIamArgs{
Enabled: pulumi.Bool(true),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Msk.ServerlessCluster("example", new()
    {
        ClusterName = "Example",
        VpcConfigs = new[]
        {
            new Aws.Msk.Inputs.ServerlessClusterVpcConfigArgs
            {
                SubnetIds = exampleAwsSubnet.Select(__item => __item.Id).ToList(),
                SecurityGroupIds = new[]
                {
                    exampleAwsSecurityGroup.Id,
                },
            },
        },
        ClientAuthentication = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationArgs
        {
            Sasl = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationSaslArgs
            {
                Iam = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationSaslIamArgs
                {
                    Enabled = true,
                },
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.msk.ServerlessCluster;
import com.pulumi.aws.msk.ServerlessClusterArgs;
import com.pulumi.aws.msk.inputs.ServerlessClusterVpcConfigArgs;
import com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationArgs;
import com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationSaslArgs;
import com.pulumi.aws.msk.inputs.ServerlessClusterClientAuthenticationSaslIamArgs;
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) {
        var example = new ServerlessCluster("example", ServerlessClusterArgs.builder()
            .clusterName("Example")
            .vpcConfigs(ServerlessClusterVpcConfigArgs.builder()
                .subnetIds(exampleAwsSubnet.stream().map(element -> element.id()).collect(toList()))
                .securityGroupIds(exampleAwsSecurityGroup.id())
                .build())
            .clientAuthentication(ServerlessClusterClientAuthenticationArgs.builder()
                .sasl(ServerlessClusterClientAuthenticationSaslArgs.builder()
                    .iam(ServerlessClusterClientAuthenticationSaslIamArgs.builder()
                        .enabled(true)
                        .build())
                    .build())
                .build())
            .build());

    }
}
Copy
Coming soon!

Create ServerlessCluster Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ServerlessCluster(name: string, args: ServerlessClusterArgs, opts?: CustomResourceOptions);
@overload
def ServerlessCluster(resource_name: str,
                      args: ServerlessClusterArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def ServerlessCluster(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      client_authentication: Optional[ServerlessClusterClientAuthenticationArgs] = None,
                      vpc_configs: Optional[Sequence[ServerlessClusterVpcConfigArgs]] = None,
                      cluster_name: Optional[str] = None,
                      tags: Optional[Mapping[str, str]] = None)
func NewServerlessCluster(ctx *Context, name string, args ServerlessClusterArgs, opts ...ResourceOption) (*ServerlessCluster, error)
public ServerlessCluster(string name, ServerlessClusterArgs args, CustomResourceOptions? opts = null)
public ServerlessCluster(String name, ServerlessClusterArgs args)
public ServerlessCluster(String name, ServerlessClusterArgs args, CustomResourceOptions options)
type: aws:msk:ServerlessCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServerlessClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServerlessClusterArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServerlessClusterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServerlessClusterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServerlessClusterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var serverlessClusterResource = new Aws.Msk.ServerlessCluster("serverlessClusterResource", new()
{
    ClientAuthentication = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationArgs
    {
        Sasl = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationSaslArgs
        {
            Iam = new Aws.Msk.Inputs.ServerlessClusterClientAuthenticationSaslIamArgs
            {
                Enabled = false,
            },
        },
    },
    VpcConfigs = new[]
    {
        new Aws.Msk.Inputs.ServerlessClusterVpcConfigArgs
        {
            SubnetIds = new[]
            {
                "string",
            },
            SecurityGroupIds = new[]
            {
                "string",
            },
        },
    },
    ClusterName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := msk.NewServerlessCluster(ctx, "serverlessClusterResource", &msk.ServerlessClusterArgs{
	ClientAuthentication: &msk.ServerlessClusterClientAuthenticationArgs{
		Sasl: &msk.ServerlessClusterClientAuthenticationSaslArgs{
			Iam: &msk.ServerlessClusterClientAuthenticationSaslIamArgs{
				Enabled: pulumi.Bool(false),
			},
		},
	},
	VpcConfigs: msk.ServerlessClusterVpcConfigArray{
		&msk.ServerlessClusterVpcConfigArgs{
			SubnetIds: pulumi.StringArray{
				pulumi.String("string"),
			},
			SecurityGroupIds: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ClusterName: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var serverlessClusterResource = new ServerlessCluster("serverlessClusterResource", ServerlessClusterArgs.builder()
    .clientAuthentication(ServerlessClusterClientAuthenticationArgs.builder()
        .sasl(ServerlessClusterClientAuthenticationSaslArgs.builder()
            .iam(ServerlessClusterClientAuthenticationSaslIamArgs.builder()
                .enabled(false)
                .build())
            .build())
        .build())
    .vpcConfigs(ServerlessClusterVpcConfigArgs.builder()
        .subnetIds("string")
        .securityGroupIds("string")
        .build())
    .clusterName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
serverless_cluster_resource = aws.msk.ServerlessCluster("serverlessClusterResource",
    client_authentication={
        "sasl": {
            "iam": {
                "enabled": False,
            },
        },
    },
    vpc_configs=[{
        "subnet_ids": ["string"],
        "security_group_ids": ["string"],
    }],
    cluster_name="string",
    tags={
        "string": "string",
    })
Copy
const serverlessClusterResource = new aws.msk.ServerlessCluster("serverlessClusterResource", {
    clientAuthentication: {
        sasl: {
            iam: {
                enabled: false,
            },
        },
    },
    vpcConfigs: [{
        subnetIds: ["string"],
        securityGroupIds: ["string"],
    }],
    clusterName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: aws:msk:ServerlessCluster
properties:
    clientAuthentication:
        sasl:
            iam:
                enabled: false
    clusterName: string
    tags:
        string: string
    vpcConfigs:
        - securityGroupIds:
            - string
          subnetIds:
            - string
Copy

ServerlessCluster 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 ServerlessCluster resource accepts the following input properties:

ClientAuthentication
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
VpcConfigs
This property is required.
Changes to this property will trigger replacement.
List<ServerlessClusterVpcConfig>
VPC configuration information. See below.
ClusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
Tags Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
ClientAuthentication
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationArgs
Specifies client authentication information for the serverless cluster. See below.
VpcConfigs
This property is required.
Changes to this property will trigger replacement.
[]ServerlessClusterVpcConfigArgs
VPC configuration information. See below.
ClusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
Tags map[string]string
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
clientAuthentication
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
vpcConfigs
This property is required.
Changes to this property will trigger replacement.
List<ServerlessClusterVpcConfig>
VPC configuration information. See below.
clusterName Changes to this property will trigger replacement. String
The name of the serverless cluster.
tags Map<String,String>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
clientAuthentication
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
vpcConfigs
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterVpcConfig[]
VPC configuration information. See below.
clusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
tags {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
client_authentication
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationArgs
Specifies client authentication information for the serverless cluster. See below.
vpc_configs
This property is required.
Changes to this property will trigger replacement.
Sequence[ServerlessClusterVpcConfigArgs]
VPC configuration information. See below.
cluster_name Changes to this property will trigger replacement. str
The name of the serverless cluster.
tags Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
clientAuthentication
This property is required.
Changes to this property will trigger replacement.
Property Map
Specifies client authentication information for the serverless cluster. See below.
vpcConfigs
This property is required.
Changes to this property will trigger replacement.
List<Property Map>
VPC configuration information. See below.
clusterName Changes to this property will trigger replacement. String
The name of the serverless cluster.
tags Map<String>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServerlessCluster resource produces the following output properties:

Arn string
The ARN of the serverless cluster.
ClusterUuid string
UUID of the serverless cluster, for use in IAM policies.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
The ARN of the serverless cluster.
ClusterUuid string
UUID of the serverless cluster, for use in IAM policies.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
The ARN of the serverless cluster.
clusterUuid String
UUID of the serverless cluster, for use in IAM policies.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
The ARN of the serverless cluster.
clusterUuid string
UUID of the serverless cluster, for use in IAM policies.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
The ARN of the serverless cluster.
cluster_uuid str
UUID of the serverless cluster, for use in IAM policies.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
The ARN of the serverless cluster.
clusterUuid String
UUID of the serverless cluster, for use in IAM policies.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing ServerlessCluster Resource

Get an existing ServerlessCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ServerlessClusterState, opts?: CustomResourceOptions): ServerlessCluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        client_authentication: Optional[ServerlessClusterClientAuthenticationArgs] = None,
        cluster_name: Optional[str] = None,
        cluster_uuid: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        vpc_configs: Optional[Sequence[ServerlessClusterVpcConfigArgs]] = None) -> ServerlessCluster
func GetServerlessCluster(ctx *Context, name string, id IDInput, state *ServerlessClusterState, opts ...ResourceOption) (*ServerlessCluster, error)
public static ServerlessCluster Get(string name, Input<string> id, ServerlessClusterState? state, CustomResourceOptions? opts = null)
public static ServerlessCluster get(String name, Output<String> id, ServerlessClusterState state, CustomResourceOptions options)
resources:  _:    type: aws:msk:ServerlessCluster    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string
The ARN of the serverless cluster.
ClientAuthentication Changes to this property will trigger replacement. ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
ClusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
ClusterUuid string
UUID of the serverless cluster, for use in IAM policies.
Tags Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

VpcConfigs Changes to this property will trigger replacement. List<ServerlessClusterVpcConfig>
VPC configuration information. See below.
Arn string
The ARN of the serverless cluster.
ClientAuthentication Changes to this property will trigger replacement. ServerlessClusterClientAuthenticationArgs
Specifies client authentication information for the serverless cluster. See below.
ClusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
ClusterUuid string
UUID of the serverless cluster, for use in IAM policies.
Tags map[string]string
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

VpcConfigs Changes to this property will trigger replacement. []ServerlessClusterVpcConfigArgs
VPC configuration information. See below.
arn String
The ARN of the serverless cluster.
clientAuthentication Changes to this property will trigger replacement. ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
clusterName Changes to this property will trigger replacement. String
The name of the serverless cluster.
clusterUuid String
UUID of the serverless cluster, for use in IAM policies.
tags Map<String,String>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

vpcConfigs Changes to this property will trigger replacement. List<ServerlessClusterVpcConfig>
VPC configuration information. See below.
arn string
The ARN of the serverless cluster.
clientAuthentication Changes to this property will trigger replacement. ServerlessClusterClientAuthentication
Specifies client authentication information for the serverless cluster. See below.
clusterName Changes to this property will trigger replacement. string
The name of the serverless cluster.
clusterUuid string
UUID of the serverless cluster, for use in IAM policies.
tags {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

vpcConfigs Changes to this property will trigger replacement. ServerlessClusterVpcConfig[]
VPC configuration information. See below.
arn str
The ARN of the serverless cluster.
client_authentication Changes to this property will trigger replacement. ServerlessClusterClientAuthenticationArgs
Specifies client authentication information for the serverless cluster. See below.
cluster_name Changes to this property will trigger replacement. str
The name of the serverless cluster.
cluster_uuid str
UUID of the serverless cluster, for use in IAM policies.
tags Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

vpc_configs Changes to this property will trigger replacement. Sequence[ServerlessClusterVpcConfigArgs]
VPC configuration information. See below.
arn String
The ARN of the serverless cluster.
clientAuthentication Changes to this property will trigger replacement. Property Map
Specifies client authentication information for the serverless cluster. See below.
clusterName Changes to this property will trigger replacement. String
The name of the serverless cluster.
clusterUuid String
UUID of the serverless cluster, for use in IAM policies.
tags Map<String>
A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

vpcConfigs Changes to this property will trigger replacement. List<Property Map>
VPC configuration information. See below.

Supporting Types

ServerlessClusterClientAuthentication
, ServerlessClusterClientAuthenticationArgs

Sasl
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSasl
Details for client authentication using SASL. See below.
Sasl
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSasl
Details for client authentication using SASL. See below.
sasl
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSasl
Details for client authentication using SASL. See below.
sasl
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSasl
Details for client authentication using SASL. See below.
sasl
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSasl
Details for client authentication using SASL. See below.
sasl
This property is required.
Changes to this property will trigger replacement.
Property Map
Details for client authentication using SASL. See below.

ServerlessClusterClientAuthenticationSasl
, ServerlessClusterClientAuthenticationSaslArgs

Iam
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSaslIam
Details for client authentication using IAM. See below.
Iam
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSaslIam
Details for client authentication using IAM. See below.
iam
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSaslIam
Details for client authentication using IAM. See below.
iam
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSaslIam
Details for client authentication using IAM. See below.
iam
This property is required.
Changes to this property will trigger replacement.
ServerlessClusterClientAuthenticationSaslIam
Details for client authentication using IAM. See below.
iam
This property is required.
Changes to this property will trigger replacement.
Property Map
Details for client authentication using IAM. See below.

ServerlessClusterClientAuthenticationSaslIam
, ServerlessClusterClientAuthenticationSaslIamArgs

Enabled
This property is required.
Changes to this property will trigger replacement.
bool
Whether SASL/IAM authentication is enabled or not.
Enabled
This property is required.
Changes to this property will trigger replacement.
bool
Whether SASL/IAM authentication is enabled or not.
enabled
This property is required.
Changes to this property will trigger replacement.
Boolean
Whether SASL/IAM authentication is enabled or not.
enabled
This property is required.
Changes to this property will trigger replacement.
boolean
Whether SASL/IAM authentication is enabled or not.
enabled
This property is required.
Changes to this property will trigger replacement.
bool
Whether SASL/IAM authentication is enabled or not.
enabled
This property is required.
Changes to this property will trigger replacement.
Boolean
Whether SASL/IAM authentication is enabled or not.

ServerlessClusterVpcConfig
, ServerlessClusterVpcConfigArgs

SubnetIds
This property is required.
Changes to this property will trigger replacement.
List<string>
A list of subnets in at least two different Availability Zones that host your client applications.
SecurityGroupIds Changes to this property will trigger replacement. List<string>
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.
SubnetIds
This property is required.
Changes to this property will trigger replacement.
[]string
A list of subnets in at least two different Availability Zones that host your client applications.
SecurityGroupIds Changes to this property will trigger replacement. []string
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.
subnetIds
This property is required.
Changes to this property will trigger replacement.
List<String>
A list of subnets in at least two different Availability Zones that host your client applications.
securityGroupIds Changes to this property will trigger replacement. List<String>
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.
subnetIds
This property is required.
Changes to this property will trigger replacement.
string[]
A list of subnets in at least two different Availability Zones that host your client applications.
securityGroupIds Changes to this property will trigger replacement. string[]
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.
subnet_ids
This property is required.
Changes to this property will trigger replacement.
Sequence[str]
A list of subnets in at least two different Availability Zones that host your client applications.
security_group_ids Changes to this property will trigger replacement. Sequence[str]
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.
subnetIds
This property is required.
Changes to this property will trigger replacement.
List<String>
A list of subnets in at least two different Availability Zones that host your client applications.
securityGroupIds Changes to this property will trigger replacement. List<String>
Specifies up to five security groups that control inbound and outbound traffic for the serverless cluster.

Import

Using pulumi import, import MSK serverless clusters using the cluster arn. For example:

$ pulumi import aws:msk/serverlessCluster:ServerlessCluster example arn:aws:kafka:us-west-2:123456789012:cluster/example/279c0212-d057-4dba-9aa9-1c4e5a25bfc7-3
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.