1. Packages
  2. MongoDB Atlas
  3. API Docs
  4. AdvancedCluster
MongoDB Atlas v3.15.2 published on Monday, Jun 3, 2024 by Pulumi

mongodbatlas.AdvancedCluster

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.15.2 published on Monday, Jun 3, 2024 by Pulumi

    mongodbatlas.AdvancedCluster provides an Advanced Cluster resource. The resource lets you create, edit and delete advanced clusters. The resource requires your Project ID.

    More information on considerations for using advanced clusters please see Considerations

    IMPORTANT:
    • The primary difference between mongodbatlas.Cluster is that mongodbatlas.AdvancedCluster supports multi-cloud clusters. We recommend new users start with the mongodbatlas.AdvancedCluster resource.

    NOTE: If Backup Compliance Policy is enabled for the project for which this backup schedule is defined, you cannot modify the backup schedule for an individual cluster below the minimum requirements set in the Backup Compliance Policy. See Backup Compliance Policy Prohibited Actions and Considerations.


    • Upgrading the shared tier is supported. Any change from a shared tier cluster (a tenant) to a different instance size will be considered a tenant upgrade. When upgrading from the shared tier, change the provider_name from “TENANT” to your preferred provider (AWS, GCP or Azure) and remove the variable backing_provider_name. See the Example Tenant Cluster Upgrade below. Note you can upgrade a shared tier cluster only to a single provider on an M10-tier cluster or greater.

    IMPORTANT NOTE When upgrading from the shared tier, only the upgrade changes will be applied. This helps avoid a corrupt state file in the event that the upgrade succeeds but subsequent updates fail within the same pulumi up. To apply additional cluster changes, run a secondary pulumi up after the upgrade succeeds.

    NOTE: Groups and projects are synonymous terms. You might find group_id in the official documentation.

    NOTE: A network container is created for each provider/region combination on the advanced cluster. This can be referenced via a computed attribute for use with other resources. Refer to the replication_specs.#.container_id attribute in the Attributes Reference for more information.

    NOTE: To enable Cluster Extended Storage Sizes use the is_extended_storage_sizes_enabled parameter in the mongodbatlas.Project resource.

    NOTE: The Low-CPU instance clusters are prefixed with R, i.e. R40. For complete list of Low-CPU instance clusters see Cluster Configuration Options under each Cloud Provider (https://www.mongodb.com/docs/atlas/reference/cloud-providers/).

    Example Usage

    Example single provider and single region

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const test = new mongodbatlas.AdvancedCluster("test", {
        projectId: "PROJECT ID",
        name: "NAME OF CLUSTER",
        clusterType: "REPLICASET",
        replicationSpecs: [{
            regionConfigs: [{
                electableSpecs: {
                    instanceSize: "M10",
                    nodeCount: 3,
                },
                analyticsSpecs: {
                    instanceSize: "M10",
                    nodeCount: 1,
                },
                providerName: "AWS",
                priority: 7,
                regionName: "US_EAST_1",
            }],
        }],
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test = mongodbatlas.AdvancedCluster("test",
        project_id="PROJECT ID",
        name="NAME OF CLUSTER",
        cluster_type="REPLICASET",
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            region_configs=[mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                    instance_size="M10",
                    node_count=3,
                ),
                analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                    instance_size="M10",
                    node_count=1,
                ),
                provider_name="AWS",
                priority=7,
                region_name="US_EAST_1",
            )],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "test", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:   pulumi.String("PROJECT ID"),
    			Name:        pulumi.String("NAME OF CLUSTER"),
    			ClusterType: pulumi.String("REPLICASET"),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(3),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AWS"),
    							Priority:     pulumi.Int(7),
    							RegionName:   pulumi.String("US_EAST_1"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Mongodbatlas.AdvancedCluster("test", new()
        {
            ProjectId = "PROJECT ID",
            Name = "NAME OF CLUSTER",
            ClusterType = "REPLICASET",
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AWS",
                            Priority = 7,
                            RegionName = "US_EAST_1",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    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 test = new AdvancedCluster("test", AdvancedClusterArgs.builder()
                .projectId("PROJECT ID")
                .name("NAME OF CLUSTER")
                .clusterType("REPLICASET")
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .regionConfigs(AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                        .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                            .instanceSize("M10")
                            .nodeCount(3)
                            .build())
                        .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                            .instanceSize("M10")
                            .nodeCount(1)
                            .build())
                        .providerName("AWS")
                        .priority(7)
                        .regionName("US_EAST_1")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: PROJECT ID
          name: NAME OF CLUSTER
          clusterType: REPLICASET
          replicationSpecs:
            - regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 3
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AWS
                  priority: 7
                  regionName: US_EAST_1
    

    Example Tenant Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const test = new mongodbatlas.AdvancedCluster("test", {
        projectId: "PROJECT ID",
        name: "NAME OF CLUSTER",
        clusterType: "REPLICASET",
        replicationSpecs: [{
            regionConfigs: [{
                electableSpecs: {
                    instanceSize: "M5",
                },
                providerName: "TENANT",
                backingProviderName: "AWS",
                regionName: "US_EAST_1",
                priority: 7,
            }],
        }],
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test = mongodbatlas.AdvancedCluster("test",
        project_id="PROJECT ID",
        name="NAME OF CLUSTER",
        cluster_type="REPLICASET",
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            region_configs=[mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                    instance_size="M5",
                ),
                provider_name="TENANT",
                backing_provider_name="AWS",
                region_name="US_EAST_1",
                priority=7,
            )],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "test", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:   pulumi.String("PROJECT ID"),
    			Name:        pulumi.String("NAME OF CLUSTER"),
    			ClusterType: pulumi.String("REPLICASET"),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M5"),
    							},
    							ProviderName:        pulumi.String("TENANT"),
    							BackingProviderName: pulumi.String("AWS"),
    							RegionName:          pulumi.String("US_EAST_1"),
    							Priority:            pulumi.Int(7),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Mongodbatlas.AdvancedCluster("test", new()
        {
            ProjectId = "PROJECT ID",
            Name = "NAME OF CLUSTER",
            ClusterType = "REPLICASET",
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M5",
                            },
                            ProviderName = "TENANT",
                            BackingProviderName = "AWS",
                            RegionName = "US_EAST_1",
                            Priority = 7,
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    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 test = new AdvancedCluster("test", AdvancedClusterArgs.builder()
                .projectId("PROJECT ID")
                .name("NAME OF CLUSTER")
                .clusterType("REPLICASET")
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .regionConfigs(AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                        .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                            .instanceSize("M5")
                            .build())
                        .providerName("TENANT")
                        .backingProviderName("AWS")
                        .regionName("US_EAST_1")
                        .priority(7)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: PROJECT ID
          name: NAME OF CLUSTER
          clusterType: REPLICASET
          replicationSpecs:
            - regionConfigs:
                - electableSpecs:
                    instanceSize: M5
                  providerName: TENANT
                  backingProviderName: AWS
                  regionName: US_EAST_1
                  priority: 7
    

    Example Tenant Cluster Upgrade

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const test = new mongodbatlas.AdvancedCluster("test", {
        projectId: "PROJECT ID",
        name: "NAME OF CLUSTER",
        clusterType: "REPLICASET",
        replicationSpecs: [{
            regionConfigs: [{
                electableSpecs: {
                    instanceSize: "M10",
                },
                providerName: "AWS",
                regionName: "US_EAST_1",
                priority: 7,
            }],
        }],
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test = mongodbatlas.AdvancedCluster("test",
        project_id="PROJECT ID",
        name="NAME OF CLUSTER",
        cluster_type="REPLICASET",
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            region_configs=[mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                    instance_size="M10",
                ),
                provider_name="AWS",
                region_name="US_EAST_1",
                priority=7,
            )],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "test", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:   pulumi.String("PROJECT ID"),
    			Name:        pulumi.String("NAME OF CLUSTER"),
    			ClusterType: pulumi.String("REPLICASET"),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    							},
    							ProviderName: pulumi.String("AWS"),
    							RegionName:   pulumi.String("US_EAST_1"),
    							Priority:     pulumi.Int(7),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Mongodbatlas.AdvancedCluster("test", new()
        {
            ProjectId = "PROJECT ID",
            Name = "NAME OF CLUSTER",
            ClusterType = "REPLICASET",
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                            },
                            ProviderName = "AWS",
                            RegionName = "US_EAST_1",
                            Priority = 7,
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    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 test = new AdvancedCluster("test", AdvancedClusterArgs.builder()
                .projectId("PROJECT ID")
                .name("NAME OF CLUSTER")
                .clusterType("REPLICASET")
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .regionConfigs(AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                        .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                            .instanceSize("M10")
                            .build())
                        .providerName("AWS")
                        .regionName("US_EAST_1")
                        .priority(7)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: PROJECT ID
          name: NAME OF CLUSTER
          clusterType: REPLICASET
          replicationSpecs:
            - regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                  providerName: AWS
                  regionName: US_EAST_1
                  priority: 7
    

    Example Multi-Cloud Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const test = new mongodbatlas.AdvancedCluster("test", {
        projectId: "PROJECT ID",
        name: "NAME OF CLUSTER",
        clusterType: "REPLICASET",
        replicationSpecs: [{
            regionConfigs: [
                {
                    electableSpecs: {
                        instanceSize: "M10",
                        nodeCount: 3,
                    },
                    analyticsSpecs: {
                        instanceSize: "M10",
                        nodeCount: 1,
                    },
                    providerName: "AWS",
                    priority: 7,
                    regionName: "US_EAST_1",
                },
                {
                    electableSpecs: {
                        instanceSize: "M10",
                        nodeCount: 2,
                    },
                    providerName: "GCP",
                    priority: 6,
                    regionName: "NORTH_AMERICA_NORTHEAST_1",
                },
            ],
        }],
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test = mongodbatlas.AdvancedCluster("test",
        project_id="PROJECT ID",
        name="NAME OF CLUSTER",
        cluster_type="REPLICASET",
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            region_configs=[
                mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                    electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                        instance_size="M10",
                        node_count=3,
                    ),
                    analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                        instance_size="M10",
                        node_count=1,
                    ),
                    provider_name="AWS",
                    priority=7,
                    region_name="US_EAST_1",
                ),
                mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                    electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                        instance_size="M10",
                        node_count=2,
                    ),
                    provider_name="GCP",
                    priority=6,
                    region_name="NORTH_AMERICA_NORTHEAST_1",
                ),
            ],
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "test", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:   pulumi.String("PROJECT ID"),
    			Name:        pulumi.String("NAME OF CLUSTER"),
    			ClusterType: pulumi.String("REPLICASET"),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(3),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AWS"),
    							Priority:     pulumi.Int(7),
    							RegionName:   pulumi.String("US_EAST_1"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							ProviderName: pulumi.String("GCP"),
    							Priority:     pulumi.Int(6),
    							RegionName:   pulumi.String("NORTH_AMERICA_NORTHEAST_1"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Mongodbatlas.AdvancedCluster("test", new()
        {
            ProjectId = "PROJECT ID",
            Name = "NAME OF CLUSTER",
            ClusterType = "REPLICASET",
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AWS",
                            Priority = 7,
                            RegionName = "US_EAST_1",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            ProviderName = "GCP",
                            Priority = 6,
                            RegionName = "NORTH_AMERICA_NORTHEAST_1",
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    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 test = new AdvancedCluster("test", AdvancedClusterArgs.builder()
                .projectId("PROJECT ID")
                .name("NAME OF CLUSTER")
                .clusterType("REPLICASET")
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .regionConfigs(                
                        AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                            .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(3)
                                .build())
                            .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(1)
                                .build())
                            .providerName("AWS")
                            .priority(7)
                            .regionName("US_EAST_1")
                            .build(),
                        AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                            .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(2)
                                .build())
                            .providerName("GCP")
                            .priority(6)
                            .regionName("NORTH_AMERICA_NORTHEAST_1")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      test:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: PROJECT ID
          name: NAME OF CLUSTER
          clusterType: REPLICASET
          replicationSpecs:
            - regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 3
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AWS
                  priority: 7
                  regionName: US_EAST_1
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  providerName: GCP
                  priority: 6
                  regionName: NORTH_AMERICA_NORTHEAST_1
    

    Example of a Multi-Cloud Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const cluster = new mongodbatlas.AdvancedCluster("cluster", {
        projectId: project.id,
        name: clusterName,
        clusterType: "SHARDED",
        backupEnabled: true,
        replicationSpecs: [{
            numShards: 3,
            regionConfigs: [
                {
                    electableSpecs: {
                        instanceSize: "M10",
                        nodeCount: 3,
                    },
                    analyticsSpecs: {
                        instanceSize: "M10",
                        nodeCount: 1,
                    },
                    providerName: "AWS",
                    priority: 7,
                    regionName: "US_EAST_1",
                },
                {
                    electableSpecs: {
                        instanceSize: "M10",
                        nodeCount: 2,
                    },
                    analyticsSpecs: {
                        instanceSize: "M10",
                        nodeCount: 1,
                    },
                    providerName: "AZURE",
                    priority: 6,
                    regionName: "US_EAST_2",
                },
                {
                    electableSpecs: {
                        instanceSize: "M10",
                        nodeCount: 2,
                    },
                    analyticsSpecs: {
                        instanceSize: "M10",
                        nodeCount: 1,
                    },
                    providerName: "GCP",
                    priority: 5,
                    regionName: "US_EAST_4",
                },
            ],
        }],
        advancedConfiguration: {
            javascriptEnabled: true,
            oplogSizeMb: 30,
            sampleRefreshIntervalBiConnector: 300,
        },
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    cluster = mongodbatlas.AdvancedCluster("cluster",
        project_id=project["id"],
        name=cluster_name,
        cluster_type="SHARDED",
        backup_enabled=True,
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            num_shards=3,
            region_configs=[
                mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                    electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                        instance_size="M10",
                        node_count=3,
                    ),
                    analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                        instance_size="M10",
                        node_count=1,
                    ),
                    provider_name="AWS",
                    priority=7,
                    region_name="US_EAST_1",
                ),
                mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                    electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                        instance_size="M10",
                        node_count=2,
                    ),
                    analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                        instance_size="M10",
                        node_count=1,
                    ),
                    provider_name="AZURE",
                    priority=6,
                    region_name="US_EAST_2",
                ),
                mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                    electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                        instance_size="M10",
                        node_count=2,
                    ),
                    analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                        instance_size="M10",
                        node_count=1,
                    ),
                    provider_name="GCP",
                    priority=5,
                    region_name="US_EAST_4",
                ),
            ],
        )],
        advanced_configuration=mongodbatlas.AdvancedClusterAdvancedConfigurationArgs(
            javascript_enabled=True,
            oplog_size_mb=30,
            sample_refresh_interval_bi_connector=300,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "cluster", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:     pulumi.Any(project.Id),
    			Name:          pulumi.Any(clusterName),
    			ClusterType:   pulumi.String("SHARDED"),
    			BackupEnabled: pulumi.Bool(true),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					NumShards: pulumi.Int(3),
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(3),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AWS"),
    							Priority:     pulumi.Int(7),
    							RegionName:   pulumi.String("US_EAST_1"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AZURE"),
    							Priority:     pulumi.Int(6),
    							RegionName:   pulumi.String("US_EAST_2"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("GCP"),
    							Priority:     pulumi.Int(5),
    							RegionName:   pulumi.String("US_EAST_4"),
    						},
    					},
    				},
    			},
    			AdvancedConfiguration: &mongodbatlas.AdvancedClusterAdvancedConfigurationArgs{
    				JavascriptEnabled:                pulumi.Bool(true),
    				OplogSizeMb:                      pulumi.Int(30),
    				SampleRefreshIntervalBiConnector: pulumi.Int(300),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new Mongodbatlas.AdvancedCluster("cluster", new()
        {
            ProjectId = project.Id,
            Name = clusterName,
            ClusterType = "SHARDED",
            BackupEnabled = true,
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    NumShards = 3,
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AWS",
                            Priority = 7,
                            RegionName = "US_EAST_1",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AZURE",
                            Priority = 6,
                            RegionName = "US_EAST_2",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "GCP",
                            Priority = 5,
                            RegionName = "US_EAST_4",
                        },
                    },
                },
            },
            AdvancedConfiguration = new Mongodbatlas.Inputs.AdvancedClusterAdvancedConfigurationArgs
            {
                JavascriptEnabled = true,
                OplogSizeMb = 30,
                SampleRefreshIntervalBiConnector = 300,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterAdvancedConfigurationArgs;
    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 cluster = new AdvancedCluster("cluster", AdvancedClusterArgs.builder()
                .projectId(project.id())
                .name(clusterName)
                .clusterType("SHARDED")
                .backupEnabled(true)
                .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
                    .numShards(3)
                    .regionConfigs(                
                        AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                            .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(3)
                                .build())
                            .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(1)
                                .build())
                            .providerName("AWS")
                            .priority(7)
                            .regionName("US_EAST_1")
                            .build(),
                        AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                            .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(2)
                                .build())
                            .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(1)
                                .build())
                            .providerName("AZURE")
                            .priority(6)
                            .regionName("US_EAST_2")
                            .build(),
                        AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                            .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(2)
                                .build())
                            .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                .instanceSize("M10")
                                .nodeCount(1)
                                .build())
                            .providerName("GCP")
                            .priority(5)
                            .regionName("US_EAST_4")
                            .build())
                    .build())
                .advancedConfiguration(AdvancedClusterAdvancedConfigurationArgs.builder()
                    .javascriptEnabled(true)
                    .oplogSizeMb(30)
                    .sampleRefreshIntervalBiConnector(300)
                    .build())
                .build());
    
        }
    }
    
    resources:
      cluster:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: ${project.id}
          name: ${clusterName}
          clusterType: SHARDED
          backupEnabled: true
          replicationSpecs:
            - numShards: 3
              regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 3
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AWS
                  priority: 7
                  regionName: US_EAST_1
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AZURE
                  priority: 6
                  regionName: US_EAST_2
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: GCP
                  priority: 5
                  regionName: US_EAST_4
          advancedConfiguration:
            javascriptEnabled: true
            oplogSizeMb: 30
            sampleRefreshIntervalBiConnector: 300
    

    Example of a Global Cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const cluster = new mongodbatlas.AdvancedCluster("cluster", {
        projectId: project.id,
        name: clusterName,
        clusterType: "GEOSHARDED",
        backupEnabled: true,
        replicationSpecs: [
            {
                zoneName: "zone n1",
                numShards: 3,
                regionConfigs: [
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 3,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "AWS",
                        priority: 7,
                        regionName: "US_EAST_1",
                    },
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 2,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "AZURE",
                        priority: 6,
                        regionName: "US_EAST_2",
                    },
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 2,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "GCP",
                        priority: 5,
                        regionName: "US_EAST_4",
                    },
                ],
            },
            {
                zoneName: "zone n2",
                numShards: 2,
                regionConfigs: [
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 3,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "AWS",
                        priority: 7,
                        regionName: "EU_WEST_1",
                    },
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 2,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "AZURE",
                        priority: 6,
                        regionName: "EUROPE_NORTH",
                    },
                    {
                        electableSpecs: {
                            instanceSize: "M10",
                            nodeCount: 2,
                        },
                        analyticsSpecs: {
                            instanceSize: "M10",
                            nodeCount: 1,
                        },
                        providerName: "GCP",
                        priority: 5,
                        regionName: "US_EAST_4",
                    },
                ],
            },
        ],
        advancedConfiguration: {
            javascriptEnabled: true,
            oplogSizeMb: 999,
            sampleRefreshIntervalBiConnector: 300,
        },
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    cluster = mongodbatlas.AdvancedCluster("cluster",
        project_id=project["id"],
        name=cluster_name,
        cluster_type="GEOSHARDED",
        backup_enabled=True,
        replication_specs=[
            mongodbatlas.AdvancedClusterReplicationSpecArgs(
                zone_name="zone n1",
                num_shards=3,
                region_configs=[
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=3,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="AWS",
                        priority=7,
                        region_name="US_EAST_1",
                    ),
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=2,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="AZURE",
                        priority=6,
                        region_name="US_EAST_2",
                    ),
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=2,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="GCP",
                        priority=5,
                        region_name="US_EAST_4",
                    ),
                ],
            ),
            mongodbatlas.AdvancedClusterReplicationSpecArgs(
                zone_name="zone n2",
                num_shards=2,
                region_configs=[
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=3,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="AWS",
                        priority=7,
                        region_name="EU_WEST_1",
                    ),
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=2,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="AZURE",
                        priority=6,
                        region_name="EUROPE_NORTH",
                    ),
                    mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                        electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                            instance_size="M10",
                            node_count=2,
                        ),
                        analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                            instance_size="M10",
                            node_count=1,
                        ),
                        provider_name="GCP",
                        priority=5,
                        region_name="US_EAST_4",
                    ),
                ],
            ),
        ],
        advanced_configuration=mongodbatlas.AdvancedClusterAdvancedConfigurationArgs(
            javascript_enabled=True,
            oplog_size_mb=999,
            sample_refresh_interval_bi_connector=300,
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v3/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mongodbatlas.NewAdvancedCluster(ctx, "cluster", &mongodbatlas.AdvancedClusterArgs{
    			ProjectId:     pulumi.Any(project.Id),
    			Name:          pulumi.Any(clusterName),
    			ClusterType:   pulumi.String("GEOSHARDED"),
    			BackupEnabled: pulumi.Bool(true),
    			ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					ZoneName:  pulumi.String("zone n1"),
    					NumShards: pulumi.Int(3),
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(3),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AWS"),
    							Priority:     pulumi.Int(7),
    							RegionName:   pulumi.String("US_EAST_1"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AZURE"),
    							Priority:     pulumi.Int(6),
    							RegionName:   pulumi.String("US_EAST_2"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("GCP"),
    							Priority:     pulumi.Int(5),
    							RegionName:   pulumi.String("US_EAST_4"),
    						},
    					},
    				},
    				&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    					ZoneName:  pulumi.String("zone n2"),
    					NumShards: pulumi.Int(2),
    					RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(3),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AWS"),
    							Priority:     pulumi.Int(7),
    							RegionName:   pulumi.String("EU_WEST_1"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("AZURE"),
    							Priority:     pulumi.Int(6),
    							RegionName:   pulumi.String("EUROPE_NORTH"),
    						},
    						&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    							ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(2),
    							},
    							AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    								InstanceSize: pulumi.String("M10"),
    								NodeCount:    pulumi.Int(1),
    							},
    							ProviderName: pulumi.String("GCP"),
    							Priority:     pulumi.Int(5),
    							RegionName:   pulumi.String("US_EAST_4"),
    						},
    					},
    				},
    			},
    			AdvancedConfiguration: &mongodbatlas.AdvancedClusterAdvancedConfigurationArgs{
    				JavascriptEnabled:                pulumi.Bool(true),
    				OplogSizeMb:                      pulumi.Int(999),
    				SampleRefreshIntervalBiConnector: pulumi.Int(300),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var cluster = new Mongodbatlas.AdvancedCluster("cluster", new()
        {
            ProjectId = project.Id,
            Name = clusterName,
            ClusterType = "GEOSHARDED",
            BackupEnabled = true,
            ReplicationSpecs = new[]
            {
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    ZoneName = "zone n1",
                    NumShards = 3,
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AWS",
                            Priority = 7,
                            RegionName = "US_EAST_1",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AZURE",
                            Priority = 6,
                            RegionName = "US_EAST_2",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "GCP",
                            Priority = 5,
                            RegionName = "US_EAST_4",
                        },
                    },
                },
                new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
                {
                    ZoneName = "zone n2",
                    NumShards = 2,
                    RegionConfigs = new[]
                    {
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 3,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AWS",
                            Priority = 7,
                            RegionName = "EU_WEST_1",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "AZURE",
                            Priority = 6,
                            RegionName = "EUROPE_NORTH",
                        },
                        new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                        {
                            ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 2,
                            },
                            AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                            {
                                InstanceSize = "M10",
                                NodeCount = 1,
                            },
                            ProviderName = "GCP",
                            Priority = 5,
                            RegionName = "US_EAST_4",
                        },
                    },
                },
            },
            AdvancedConfiguration = new Mongodbatlas.Inputs.AdvancedClusterAdvancedConfigurationArgs
            {
                JavascriptEnabled = true,
                OplogSizeMb = 999,
                SampleRefreshIntervalBiConnector = 300,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AdvancedCluster;
    import com.pulumi.mongodbatlas.AdvancedClusterArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterReplicationSpecArgs;
    import com.pulumi.mongodbatlas.inputs.AdvancedClusterAdvancedConfigurationArgs;
    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 cluster = new AdvancedCluster("cluster", AdvancedClusterArgs.builder()
                .projectId(project.id())
                .name(clusterName)
                .clusterType("GEOSHARDED")
                .backupEnabled(true)
                .replicationSpecs(            
                    AdvancedClusterReplicationSpecArgs.builder()
                        .zoneName("zone n1")
                        .numShards(3)
                        .regionConfigs(                    
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(3)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("AWS")
                                .priority(7)
                                .regionName("US_EAST_1")
                                .build(),
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(2)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("AZURE")
                                .priority(6)
                                .regionName("US_EAST_2")
                                .build(),
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(2)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("GCP")
                                .priority(5)
                                .regionName("US_EAST_4")
                                .build())
                        .build(),
                    AdvancedClusterReplicationSpecArgs.builder()
                        .zoneName("zone n2")
                        .numShards(2)
                        .regionConfigs(                    
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(3)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("AWS")
                                .priority(7)
                                .regionName("EU_WEST_1")
                                .build(),
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(2)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("AZURE")
                                .priority(6)
                                .regionName("EUROPE_NORTH")
                                .build(),
                            AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(2)
                                    .build())
                                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                                    .instanceSize("M10")
                                    .nodeCount(1)
                                    .build())
                                .providerName("GCP")
                                .priority(5)
                                .regionName("US_EAST_4")
                                .build())
                        .build())
                .advancedConfiguration(AdvancedClusterAdvancedConfigurationArgs.builder()
                    .javascriptEnabled(true)
                    .oplogSizeMb(999)
                    .sampleRefreshIntervalBiConnector(300)
                    .build())
                .build());
    
        }
    }
    
    resources:
      cluster:
        type: mongodbatlas:AdvancedCluster
        properties:
          projectId: ${project.id}
          name: ${clusterName}
          clusterType: GEOSHARDED
          backupEnabled: true
          replicationSpecs:
            - zoneName: zone n1
              numShards: 3
              regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 3
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AWS
                  priority: 7
                  regionName: US_EAST_1
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AZURE
                  priority: 6
                  regionName: US_EAST_2
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: GCP
                  priority: 5
                  regionName: US_EAST_4
            - zoneName: zone n2
              numShards: 2
              regionConfigs:
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 3
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AWS
                  priority: 7
                  regionName: EU_WEST_1
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: AZURE
                  priority: 6
                  regionName: EUROPE_NORTH
                - electableSpecs:
                    instanceSize: M10
                    nodeCount: 2
                  analyticsSpecs:
                    instanceSize: M10
                    nodeCount: 1
                  providerName: GCP
                  priority: 5
                  regionName: US_EAST_4
          advancedConfiguration:
            javascriptEnabled: true
            oplogSizeMb: 999
            sampleRefreshIntervalBiConnector: 300
    

    Example - Return a Connection String

    Standard

    import * as pulumi from "@pulumi/pulumi";
    
    export const standard = cluster_test.connectionStrings[0].standard;
    
    import pulumi
    
    pulumi.export("standard", cluster_test["connectionStrings"][0]["standard"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ctx.Export("standard", cluster_test.ConnectionStrings[0].Standard)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        return new Dictionary<string, object?>
        {
            ["standard"] = cluster_test.ConnectionStrings[0].Standard,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
            ctx.export("standard", cluster_test.connectionStrings()[0].standard());
        }
    }
    
    outputs:
      standard: ${["cluster-test"].connectionStrings[0].standard}
    

    Standard srv

    import * as pulumi from "@pulumi/pulumi";
    
    export const standardSrv = cluster_test.connectionStrings[0].standardSrv;
    
    import pulumi
    
    pulumi.export("standardSrv", cluster_test["connectionStrings"][0]["standardSrv"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		ctx.Export("standardSrv", cluster_test.ConnectionStrings[0].StandardSrv)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        return new Dictionary<string, object?>
        {
            ["standardSrv"] = cluster_test.ConnectionStrings[0].StandardSrv,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
            ctx.export("standardSrv", cluster_test.connectionStrings()[0].standardSrv());
        }
    }
    
    outputs:
      standardSrv: ${["cluster-test"].connectionStrings[0].standardSrv}
    

    Private with Network peering and Custom DNS AWS enabled

    Import

    Clusters can be imported using project ID and cluster name, in the format PROJECTID-CLUSTERNAME, e.g.

    $ pulumi import mongodbatlas:index/advancedCluster:AdvancedCluster my_cluster 1112222b3bf99403840e8934-Cluster0
    

    See detailed information for arguments and attributes: MongoDB API Advanced Clusters

    Create AdvancedCluster Resource

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

    Constructor syntax

    new AdvancedCluster(name: string, args: AdvancedClusterArgs, opts?: CustomResourceOptions);
    @overload
    def AdvancedCluster(resource_name: str,
                        args: AdvancedClusterArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AdvancedCluster(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        project_id: Optional[str] = None,
                        cluster_type: Optional[str] = None,
                        replication_specs: Optional[Sequence[AdvancedClusterReplicationSpecArgs]] = None,
                        disk_size_gb: Optional[float] = None,
                        pit_enabled: Optional[bool] = None,
                        advanced_configuration: Optional[AdvancedClusterAdvancedConfigurationArgs] = None,
                        encryption_at_rest_provider: Optional[str] = None,
                        labels: Optional[Sequence[AdvancedClusterLabelArgs]] = None,
                        backup_enabled: Optional[bool] = None,
                        version_release_system: Optional[str] = None,
                        bi_connector_config: Optional[AdvancedClusterBiConnectorConfigArgs] = None,
                        paused: Optional[bool] = None,
                        accept_data_risks_and_force_replica_set_reconfig: Optional[str] = None,
                        mongo_db_major_version: Optional[str] = None,
                        retain_backups_enabled: Optional[bool] = None,
                        root_cert_type: Optional[str] = None,
                        tags: Optional[Sequence[AdvancedClusterTagArgs]] = None,
                        termination_protection_enabled: Optional[bool] = None,
                        name: Optional[str] = None)
    func NewAdvancedCluster(ctx *Context, name string, args AdvancedClusterArgs, opts ...ResourceOption) (*AdvancedCluster, error)
    public AdvancedCluster(string name, AdvancedClusterArgs args, CustomResourceOptions? opts = null)
    public AdvancedCluster(String name, AdvancedClusterArgs args)
    public AdvancedCluster(String name, AdvancedClusterArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:AdvancedCluster
    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 AdvancedClusterArgs
    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 AdvancedClusterArgs
    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 AdvancedClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AdvancedClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AdvancedClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var advancedClusterResource = new Mongodbatlas.AdvancedCluster("advancedClusterResource", new()
    {
        ProjectId = "string",
        ClusterType = "string",
        ReplicationSpecs = new[]
        {
            new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecArgs
            {
                RegionConfigs = new[]
                {
                    new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigArgs
                    {
                        Priority = 0,
                        ProviderName = "string",
                        RegionName = "string",
                        AnalyticsAutoScaling = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScalingArgs
                        {
                            ComputeEnabled = false,
                            ComputeMaxInstanceSize = "string",
                            ComputeMinInstanceSize = "string",
                            ComputeScaleDownEnabled = false,
                            DiskGbEnabled = false,
                        },
                        AnalyticsSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs
                        {
                            InstanceSize = "string",
                            DiskIops = 0,
                            EbsVolumeType = "string",
                            NodeCount = 0,
                        },
                        AutoScaling = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigAutoScalingArgs
                        {
                            ComputeEnabled = false,
                            ComputeMaxInstanceSize = "string",
                            ComputeMinInstanceSize = "string",
                            ComputeScaleDownEnabled = false,
                            DiskGbEnabled = false,
                        },
                        BackingProviderName = "string",
                        ElectableSpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs
                        {
                            InstanceSize = "string",
                            DiskIops = 0,
                            EbsVolumeType = "string",
                            NodeCount = 0,
                        },
                        ReadOnlySpecs = new Mongodbatlas.Inputs.AdvancedClusterReplicationSpecRegionConfigReadOnlySpecsArgs
                        {
                            InstanceSize = "string",
                            DiskIops = 0,
                            EbsVolumeType = "string",
                            NodeCount = 0,
                        },
                    },
                },
                ContainerId = 
                {
                    { "string", "string" },
                },
                Id = "string",
                NumShards = 0,
                ZoneName = "string",
            },
        },
        DiskSizeGb = 0,
        PitEnabled = false,
        AdvancedConfiguration = new Mongodbatlas.Inputs.AdvancedClusterAdvancedConfigurationArgs
        {
            DefaultReadConcern = "string",
            DefaultWriteConcern = "string",
            FailIndexKeyTooLong = false,
            JavascriptEnabled = false,
            MinimumEnabledTlsProtocol = "string",
            NoTableScan = false,
            OplogMinRetentionHours = 0,
            OplogSizeMb = 0,
            SampleRefreshIntervalBiConnector = 0,
            SampleSizeBiConnector = 0,
            TransactionLifetimeLimitSeconds = 0,
        },
        EncryptionAtRestProvider = "string",
        BackupEnabled = false,
        VersionReleaseSystem = "string",
        BiConnectorConfig = new Mongodbatlas.Inputs.AdvancedClusterBiConnectorConfigArgs
        {
            Enabled = false,
            ReadPreference = "string",
        },
        Paused = false,
        AcceptDataRisksAndForceReplicaSetReconfig = "string",
        MongoDbMajorVersion = "string",
        RetainBackupsEnabled = false,
        RootCertType = "string",
        Tags = new[]
        {
            new Mongodbatlas.Inputs.AdvancedClusterTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        TerminationProtectionEnabled = false,
        Name = "string",
    });
    
    example, err := mongodbatlas.NewAdvancedCluster(ctx, "advancedClusterResource", &mongodbatlas.AdvancedClusterArgs{
    	ProjectId:   pulumi.String("string"),
    	ClusterType: pulumi.String("string"),
    	ReplicationSpecs: mongodbatlas.AdvancedClusterReplicationSpecArray{
    		&mongodbatlas.AdvancedClusterReplicationSpecArgs{
    			RegionConfigs: mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArray{
    				&mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs{
    					Priority:     pulumi.Int(0),
    					ProviderName: pulumi.String("string"),
    					RegionName:   pulumi.String("string"),
    					AnalyticsAutoScaling: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScalingArgs{
    						ComputeEnabled:          pulumi.Bool(false),
    						ComputeMaxInstanceSize:  pulumi.String("string"),
    						ComputeMinInstanceSize:  pulumi.String("string"),
    						ComputeScaleDownEnabled: pulumi.Bool(false),
    						DiskGbEnabled:           pulumi.Bool(false),
    					},
    					AnalyticsSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs{
    						InstanceSize:  pulumi.String("string"),
    						DiskIops:      pulumi.Int(0),
    						EbsVolumeType: pulumi.String("string"),
    						NodeCount:     pulumi.Int(0),
    					},
    					AutoScaling: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAutoScalingArgs{
    						ComputeEnabled:          pulumi.Bool(false),
    						ComputeMaxInstanceSize:  pulumi.String("string"),
    						ComputeMinInstanceSize:  pulumi.String("string"),
    						ComputeScaleDownEnabled: pulumi.Bool(false),
    						DiskGbEnabled:           pulumi.Bool(false),
    					},
    					BackingProviderName: pulumi.String("string"),
    					ElectableSpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs{
    						InstanceSize:  pulumi.String("string"),
    						DiskIops:      pulumi.Int(0),
    						EbsVolumeType: pulumi.String("string"),
    						NodeCount:     pulumi.Int(0),
    					},
    					ReadOnlySpecs: &mongodbatlas.AdvancedClusterReplicationSpecRegionConfigReadOnlySpecsArgs{
    						InstanceSize:  pulumi.String("string"),
    						DiskIops:      pulumi.Int(0),
    						EbsVolumeType: pulumi.String("string"),
    						NodeCount:     pulumi.Int(0),
    					},
    				},
    			},
    			ContainerId: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Id:        pulumi.String("string"),
    			NumShards: pulumi.Int(0),
    			ZoneName:  pulumi.String("string"),
    		},
    	},
    	DiskSizeGb: pulumi.Float64(0),
    	PitEnabled: pulumi.Bool(false),
    	AdvancedConfiguration: &mongodbatlas.AdvancedClusterAdvancedConfigurationArgs{
    		DefaultReadConcern:               pulumi.String("string"),
    		DefaultWriteConcern:              pulumi.String("string"),
    		FailIndexKeyTooLong:              pulumi.Bool(false),
    		JavascriptEnabled:                pulumi.Bool(false),
    		MinimumEnabledTlsProtocol:        pulumi.String("string"),
    		NoTableScan:                      pulumi.Bool(false),
    		OplogMinRetentionHours:           pulumi.Int(0),
    		OplogSizeMb:                      pulumi.Int(0),
    		SampleRefreshIntervalBiConnector: pulumi.Int(0),
    		SampleSizeBiConnector:            pulumi.Int(0),
    		TransactionLifetimeLimitSeconds:  pulumi.Int(0),
    	},
    	EncryptionAtRestProvider: pulumi.String("string"),
    	BackupEnabled:            pulumi.Bool(false),
    	VersionReleaseSystem:     pulumi.String("string"),
    	BiConnectorConfig: &mongodbatlas.AdvancedClusterBiConnectorConfigArgs{
    		Enabled:        pulumi.Bool(false),
    		ReadPreference: pulumi.String("string"),
    	},
    	Paused: pulumi.Bool(false),
    	AcceptDataRisksAndForceReplicaSetReconfig: pulumi.String("string"),
    	MongoDbMajorVersion:                       pulumi.String("string"),
    	RetainBackupsEnabled:                      pulumi.Bool(false),
    	RootCertType:                              pulumi.String("string"),
    	Tags: mongodbatlas.AdvancedClusterTagArray{
    		&mongodbatlas.AdvancedClusterTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	TerminationProtectionEnabled: pulumi.Bool(false),
    	Name:                         pulumi.String("string"),
    })
    
    var advancedClusterResource = new AdvancedCluster("advancedClusterResource", AdvancedClusterArgs.builder()
        .projectId("string")
        .clusterType("string")
        .replicationSpecs(AdvancedClusterReplicationSpecArgs.builder()
            .regionConfigs(AdvancedClusterReplicationSpecRegionConfigArgs.builder()
                .priority(0)
                .providerName("string")
                .regionName("string")
                .analyticsAutoScaling(AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScalingArgs.builder()
                    .computeEnabled(false)
                    .computeMaxInstanceSize("string")
                    .computeMinInstanceSize("string")
                    .computeScaleDownEnabled(false)
                    .diskGbEnabled(false)
                    .build())
                .analyticsSpecs(AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs.builder()
                    .instanceSize("string")
                    .diskIops(0)
                    .ebsVolumeType("string")
                    .nodeCount(0)
                    .build())
                .autoScaling(AdvancedClusterReplicationSpecRegionConfigAutoScalingArgs.builder()
                    .computeEnabled(false)
                    .computeMaxInstanceSize("string")
                    .computeMinInstanceSize("string")
                    .computeScaleDownEnabled(false)
                    .diskGbEnabled(false)
                    .build())
                .backingProviderName("string")
                .electableSpecs(AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs.builder()
                    .instanceSize("string")
                    .diskIops(0)
                    .ebsVolumeType("string")
                    .nodeCount(0)
                    .build())
                .readOnlySpecs(AdvancedClusterReplicationSpecRegionConfigReadOnlySpecsArgs.builder()
                    .instanceSize("string")
                    .diskIops(0)
                    .ebsVolumeType("string")
                    .nodeCount(0)
                    .build())
                .build())
            .containerId(Map.of("string", "string"))
            .id("string")
            .numShards(0)
            .zoneName("string")
            .build())
        .diskSizeGb(0)
        .pitEnabled(false)
        .advancedConfiguration(AdvancedClusterAdvancedConfigurationArgs.builder()
            .defaultReadConcern("string")
            .defaultWriteConcern("string")
            .failIndexKeyTooLong(false)
            .javascriptEnabled(false)
            .minimumEnabledTlsProtocol("string")
            .noTableScan(false)
            .oplogMinRetentionHours(0)
            .oplogSizeMb(0)
            .sampleRefreshIntervalBiConnector(0)
            .sampleSizeBiConnector(0)
            .transactionLifetimeLimitSeconds(0)
            .build())
        .encryptionAtRestProvider("string")
        .backupEnabled(false)
        .versionReleaseSystem("string")
        .biConnectorConfig(AdvancedClusterBiConnectorConfigArgs.builder()
            .enabled(false)
            .readPreference("string")
            .build())
        .paused(false)
        .acceptDataRisksAndForceReplicaSetReconfig("string")
        .mongoDbMajorVersion("string")
        .retainBackupsEnabled(false)
        .rootCertType("string")
        .tags(AdvancedClusterTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .terminationProtectionEnabled(false)
        .name("string")
        .build());
    
    advanced_cluster_resource = mongodbatlas.AdvancedCluster("advancedClusterResource",
        project_id="string",
        cluster_type="string",
        replication_specs=[mongodbatlas.AdvancedClusterReplicationSpecArgs(
            region_configs=[mongodbatlas.AdvancedClusterReplicationSpecRegionConfigArgs(
                priority=0,
                provider_name="string",
                region_name="string",
                analytics_auto_scaling=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScalingArgs(
                    compute_enabled=False,
                    compute_max_instance_size="string",
                    compute_min_instance_size="string",
                    compute_scale_down_enabled=False,
                    disk_gb_enabled=False,
                ),
                analytics_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs(
                    instance_size="string",
                    disk_iops=0,
                    ebs_volume_type="string",
                    node_count=0,
                ),
                auto_scaling=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigAutoScalingArgs(
                    compute_enabled=False,
                    compute_max_instance_size="string",
                    compute_min_instance_size="string",
                    compute_scale_down_enabled=False,
                    disk_gb_enabled=False,
                ),
                backing_provider_name="string",
                electable_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs(
                    instance_size="string",
                    disk_iops=0,
                    ebs_volume_type="string",
                    node_count=0,
                ),
                read_only_specs=mongodbatlas.AdvancedClusterReplicationSpecRegionConfigReadOnlySpecsArgs(
                    instance_size="string",
                    disk_iops=0,
                    ebs_volume_type="string",
                    node_count=0,
                ),
            )],
            container_id={
                "string": "string",
            },
            id="string",
            num_shards=0,
            zone_name="string",
        )],
        disk_size_gb=0,
        pit_enabled=False,
        advanced_configuration=mongodbatlas.AdvancedClusterAdvancedConfigurationArgs(
            default_read_concern="string",
            default_write_concern="string",
            fail_index_key_too_long=False,
            javascript_enabled=False,
            minimum_enabled_tls_protocol="string",
            no_table_scan=False,
            oplog_min_retention_hours=0,
            oplog_size_mb=0,
            sample_refresh_interval_bi_connector=0,
            sample_size_bi_connector=0,
            transaction_lifetime_limit_seconds=0,
        ),
        encryption_at_rest_provider="string",
        backup_enabled=False,
        version_release_system="string",
        bi_connector_config=mongodbatlas.AdvancedClusterBiConnectorConfigArgs(
            enabled=False,
            read_preference="string",
        ),
        paused=False,
        accept_data_risks_and_force_replica_set_reconfig="string",
        mongo_db_major_version="string",
        retain_backups_enabled=False,
        root_cert_type="string",
        tags=[mongodbatlas.AdvancedClusterTagArgs(
            key="string",
            value="string",
        )],
        termination_protection_enabled=False,
        name="string")
    
    const advancedClusterResource = new mongodbatlas.AdvancedCluster("advancedClusterResource", {
        projectId: "string",
        clusterType: "string",
        replicationSpecs: [{
            regionConfigs: [{
                priority: 0,
                providerName: "string",
                regionName: "string",
                analyticsAutoScaling: {
                    computeEnabled: false,
                    computeMaxInstanceSize: "string",
                    computeMinInstanceSize: "string",
                    computeScaleDownEnabled: false,
                    diskGbEnabled: false,
                },
                analyticsSpecs: {
                    instanceSize: "string",
                    diskIops: 0,
                    ebsVolumeType: "string",
                    nodeCount: 0,
                },
                autoScaling: {
                    computeEnabled: false,
                    computeMaxInstanceSize: "string",
                    computeMinInstanceSize: "string",
                    computeScaleDownEnabled: false,
                    diskGbEnabled: false,
                },
                backingProviderName: "string",
                electableSpecs: {
                    instanceSize: "string",
                    diskIops: 0,
                    ebsVolumeType: "string",
                    nodeCount: 0,
                },
                readOnlySpecs: {
                    instanceSize: "string",
                    diskIops: 0,
                    ebsVolumeType: "string",
                    nodeCount: 0,
                },
            }],
            containerId: {
                string: "string",
            },
            id: "string",
            numShards: 0,
            zoneName: "string",
        }],
        diskSizeGb: 0,
        pitEnabled: false,
        advancedConfiguration: {
            defaultReadConcern: "string",
            defaultWriteConcern: "string",
            failIndexKeyTooLong: false,
            javascriptEnabled: false,
            minimumEnabledTlsProtocol: "string",
            noTableScan: false,
            oplogMinRetentionHours: 0,
            oplogSizeMb: 0,
            sampleRefreshIntervalBiConnector: 0,
            sampleSizeBiConnector: 0,
            transactionLifetimeLimitSeconds: 0,
        },
        encryptionAtRestProvider: "string",
        backupEnabled: false,
        versionReleaseSystem: "string",
        biConnectorConfig: {
            enabled: false,
            readPreference: "string",
        },
        paused: false,
        acceptDataRisksAndForceReplicaSetReconfig: "string",
        mongoDbMajorVersion: "string",
        retainBackupsEnabled: false,
        rootCertType: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        terminationProtectionEnabled: false,
        name: "string",
    });
    
    type: mongodbatlas:AdvancedCluster
    properties:
        acceptDataRisksAndForceReplicaSetReconfig: string
        advancedConfiguration:
            defaultReadConcern: string
            defaultWriteConcern: string
            failIndexKeyTooLong: false
            javascriptEnabled: false
            minimumEnabledTlsProtocol: string
            noTableScan: false
            oplogMinRetentionHours: 0
            oplogSizeMb: 0
            sampleRefreshIntervalBiConnector: 0
            sampleSizeBiConnector: 0
            transactionLifetimeLimitSeconds: 0
        backupEnabled: false
        biConnectorConfig:
            enabled: false
            readPreference: string
        clusterType: string
        diskSizeGb: 0
        encryptionAtRestProvider: string
        mongoDbMajorVersion: string
        name: string
        paused: false
        pitEnabled: false
        projectId: string
        replicationSpecs:
            - containerId:
                string: string
              id: string
              numShards: 0
              regionConfigs:
                - analyticsAutoScaling:
                    computeEnabled: false
                    computeMaxInstanceSize: string
                    computeMinInstanceSize: string
                    computeScaleDownEnabled: false
                    diskGbEnabled: false
                  analyticsSpecs:
                    diskIops: 0
                    ebsVolumeType: string
                    instanceSize: string
                    nodeCount: 0
                  autoScaling:
                    computeEnabled: false
                    computeMaxInstanceSize: string
                    computeMinInstanceSize: string
                    computeScaleDownEnabled: false
                    diskGbEnabled: false
                  backingProviderName: string
                  electableSpecs:
                    diskIops: 0
                    ebsVolumeType: string
                    instanceSize: string
                    nodeCount: 0
                  priority: 0
                  providerName: string
                  readOnlySpecs:
                    diskIops: 0
                    ebsVolumeType: string
                    instanceSize: string
                    nodeCount: 0
                  regionName: string
              zoneName: string
        retainBackupsEnabled: false
        rootCertType: string
        tags:
            - key: string
              value: string
        terminationProtectionEnabled: false
        versionReleaseSystem: string
    

    AdvancedCluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AdvancedCluster resource accepts the following input properties:

    ClusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    ProjectId string
    Unique ID for the project to create the database user.
    ReplicationSpecs List<AdvancedClusterReplicationSpec>
    Configuration for cluster regions and the hardware provisioned in them. See below
    AcceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    AdvancedConfiguration AdvancedClusterAdvancedConfiguration
    BackupEnabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    BiConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    DiskSizeGb double
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    EncryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    Labels List<AdvancedClusterLabel>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    MongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    Name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    Paused bool
    PitEnabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    RetainBackupsEnabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    RootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    Tags List<AdvancedClusterTag>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    TerminationProtectionEnabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    VersionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    ClusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    ProjectId string
    Unique ID for the project to create the database user.
    ReplicationSpecs []AdvancedClusterReplicationSpecArgs
    Configuration for cluster regions and the hardware provisioned in them. See below
    AcceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    AdvancedConfiguration AdvancedClusterAdvancedConfigurationArgs
    BackupEnabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    BiConnectorConfig AdvancedClusterBiConnectorConfigArgs
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    DiskSizeGb float64
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    EncryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    Labels []AdvancedClusterLabelArgs
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    MongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    Name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    Paused bool
    PitEnabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    RetainBackupsEnabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    RootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    Tags []AdvancedClusterTagArgs
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    TerminationProtectionEnabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    VersionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    clusterType String
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    projectId String
    Unique ID for the project to create the database user.
    replicationSpecs List<AdvancedClusterReplicationSpec>
    Configuration for cluster regions and the hardware provisioned in them. See below
    acceptDataRisksAndForceReplicaSetReconfig String
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration AdvancedClusterAdvancedConfiguration
    backupEnabled Boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    diskSizeGb Double
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider String
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels List<AdvancedClusterLabel>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion String
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    name String
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused Boolean
    pitEnabled Boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    retainBackupsEnabled Boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType String
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    tags List<AdvancedClusterTag>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled Boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem String
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    clusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    projectId string
    Unique ID for the project to create the database user.
    replicationSpecs AdvancedClusterReplicationSpec[]
    Configuration for cluster regions and the hardware provisioned in them. See below
    acceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration AdvancedClusterAdvancedConfiguration
    backupEnabled boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    diskSizeGb number
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels AdvancedClusterLabel[]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused boolean
    pitEnabled boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    retainBackupsEnabled boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    tags AdvancedClusterTag[]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    cluster_type str
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    project_id str
    Unique ID for the project to create the database user.
    replication_specs Sequence[AdvancedClusterReplicationSpecArgs]
    Configuration for cluster regions and the hardware provisioned in them. See below
    accept_data_risks_and_force_replica_set_reconfig str
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advanced_configuration AdvancedClusterAdvancedConfigurationArgs
    backup_enabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    bi_connector_config AdvancedClusterBiConnectorConfigArgs
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    disk_size_gb float
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryption_at_rest_provider str
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels Sequence[AdvancedClusterLabelArgs]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongo_db_major_version str
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    name str
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused bool
    pit_enabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    retain_backups_enabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    root_cert_type str
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    tags Sequence[AdvancedClusterTagArgs]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    termination_protection_enabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    version_release_system str
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    clusterType String
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    projectId String
    Unique ID for the project to create the database user.
    replicationSpecs List<Property Map>
    Configuration for cluster regions and the hardware provisioned in them. See below
    acceptDataRisksAndForceReplicaSetReconfig String
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration Property Map
    backupEnabled Boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig Property Map
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    diskSizeGb Number
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider String
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels List<Property Map>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion String
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    name String
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused Boolean
    pitEnabled Boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    retainBackupsEnabled Boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType String
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    tags List<Property Map>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled Boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem String
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.

    Outputs

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

    ClusterId string
    The cluster ID.
    ConnectionStrings List<AdvancedClusterConnectionString>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    CreateDate string
    Id string
    The provider-assigned unique ID for this managed resource.
    MongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    StateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    ClusterId string
    The cluster ID.
    ConnectionStrings []AdvancedClusterConnectionString
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    CreateDate string
    Id string
    The provider-assigned unique ID for this managed resource.
    MongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    StateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    clusterId String
    The cluster ID.
    connectionStrings List<AdvancedClusterConnectionString>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate String
    id String
    The provider-assigned unique ID for this managed resource.
    mongoDbVersion String
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    stateName String
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    clusterId string
    The cluster ID.
    connectionStrings AdvancedClusterConnectionString[]
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate string
    id string
    The provider-assigned unique ID for this managed resource.
    mongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    stateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    cluster_id str
    The cluster ID.
    connection_strings Sequence[AdvancedClusterConnectionString]
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    create_date str
    id str
    The provider-assigned unique ID for this managed resource.
    mongo_db_version str
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    state_name str
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    clusterId String
    The cluster ID.
    connectionStrings List<Property Map>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate String
    id String
    The provider-assigned unique ID for this managed resource.
    mongoDbVersion String
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    stateName String
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING

    Look up Existing AdvancedCluster Resource

    Get an existing AdvancedCluster 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?: AdvancedClusterState, opts?: CustomResourceOptions): AdvancedCluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accept_data_risks_and_force_replica_set_reconfig: Optional[str] = None,
            advanced_configuration: Optional[AdvancedClusterAdvancedConfigurationArgs] = None,
            backup_enabled: Optional[bool] = None,
            bi_connector_config: Optional[AdvancedClusterBiConnectorConfigArgs] = None,
            cluster_id: Optional[str] = None,
            cluster_type: Optional[str] = None,
            connection_strings: Optional[Sequence[AdvancedClusterConnectionStringArgs]] = None,
            create_date: Optional[str] = None,
            disk_size_gb: Optional[float] = None,
            encryption_at_rest_provider: Optional[str] = None,
            labels: Optional[Sequence[AdvancedClusterLabelArgs]] = None,
            mongo_db_major_version: Optional[str] = None,
            mongo_db_version: Optional[str] = None,
            name: Optional[str] = None,
            paused: Optional[bool] = None,
            pit_enabled: Optional[bool] = None,
            project_id: Optional[str] = None,
            replication_specs: Optional[Sequence[AdvancedClusterReplicationSpecArgs]] = None,
            retain_backups_enabled: Optional[bool] = None,
            root_cert_type: Optional[str] = None,
            state_name: Optional[str] = None,
            tags: Optional[Sequence[AdvancedClusterTagArgs]] = None,
            termination_protection_enabled: Optional[bool] = None,
            version_release_system: Optional[str] = None) -> AdvancedCluster
    func GetAdvancedCluster(ctx *Context, name string, id IDInput, state *AdvancedClusterState, opts ...ResourceOption) (*AdvancedCluster, error)
    public static AdvancedCluster Get(string name, Input<string> id, AdvancedClusterState? state, CustomResourceOptions? opts = null)
    public static AdvancedCluster get(String name, Output<String> id, AdvancedClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    AcceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    AdvancedConfiguration AdvancedClusterAdvancedConfiguration
    BackupEnabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    BiConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    ClusterId string
    The cluster ID.
    ClusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    ConnectionStrings List<AdvancedClusterConnectionString>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    CreateDate string
    DiskSizeGb double
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    EncryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    Labels List<AdvancedClusterLabel>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    MongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    MongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    Name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    Paused bool
    PitEnabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    ProjectId string
    Unique ID for the project to create the database user.
    ReplicationSpecs List<AdvancedClusterReplicationSpec>
    Configuration for cluster regions and the hardware provisioned in them. See below
    RetainBackupsEnabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    RootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    StateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    Tags List<AdvancedClusterTag>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    TerminationProtectionEnabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    VersionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    AcceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    AdvancedConfiguration AdvancedClusterAdvancedConfigurationArgs
    BackupEnabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    BiConnectorConfig AdvancedClusterBiConnectorConfigArgs
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    ClusterId string
    The cluster ID.
    ClusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    ConnectionStrings []AdvancedClusterConnectionStringArgs
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    CreateDate string
    DiskSizeGb float64
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    EncryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    Labels []AdvancedClusterLabelArgs
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    MongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    MongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    Name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    Paused bool
    PitEnabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    ProjectId string
    Unique ID for the project to create the database user.
    ReplicationSpecs []AdvancedClusterReplicationSpecArgs
    Configuration for cluster regions and the hardware provisioned in them. See below
    RetainBackupsEnabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    RootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    StateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    Tags []AdvancedClusterTagArgs
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    TerminationProtectionEnabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    VersionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    acceptDataRisksAndForceReplicaSetReconfig String
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration AdvancedClusterAdvancedConfiguration
    backupEnabled Boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    clusterId String
    The cluster ID.
    clusterType String
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    connectionStrings List<AdvancedClusterConnectionString>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate String
    diskSizeGb Double
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider String
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels List<AdvancedClusterLabel>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion String
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    mongoDbVersion String
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    name String
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused Boolean
    pitEnabled Boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    projectId String
    Unique ID for the project to create the database user.
    replicationSpecs List<AdvancedClusterReplicationSpec>
    Configuration for cluster regions and the hardware provisioned in them. See below
    retainBackupsEnabled Boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType String
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    stateName String
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    tags List<AdvancedClusterTag>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled Boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem String
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    acceptDataRisksAndForceReplicaSetReconfig string
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration AdvancedClusterAdvancedConfiguration
    backupEnabled boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig AdvancedClusterBiConnectorConfig
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    clusterId string
    The cluster ID.
    clusterType string
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    connectionStrings AdvancedClusterConnectionString[]
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate string
    diskSizeGb number
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider string
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels AdvancedClusterLabel[]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion string
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    mongoDbVersion string
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    name string
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused boolean
    pitEnabled boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    projectId string
    Unique ID for the project to create the database user.
    replicationSpecs AdvancedClusterReplicationSpec[]
    Configuration for cluster regions and the hardware provisioned in them. See below
    retainBackupsEnabled boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType string
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    stateName string
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    tags AdvancedClusterTag[]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem string
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    accept_data_risks_and_force_replica_set_reconfig str
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advanced_configuration AdvancedClusterAdvancedConfigurationArgs
    backup_enabled bool

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    bi_connector_config AdvancedClusterBiConnectorConfigArgs
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    cluster_id str
    The cluster ID.
    cluster_type str
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    connection_strings Sequence[AdvancedClusterConnectionStringArgs]
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    create_date str
    disk_size_gb float
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryption_at_rest_provider str
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels Sequence[AdvancedClusterLabelArgs]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongo_db_major_version str
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    mongo_db_version str
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    name str
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused bool
    pit_enabled bool
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    project_id str
    Unique ID for the project to create the database user.
    replication_specs Sequence[AdvancedClusterReplicationSpecArgs]
    Configuration for cluster regions and the hardware provisioned in them. See below
    retain_backups_enabled bool
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    root_cert_type str
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    state_name str
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    tags Sequence[AdvancedClusterTagArgs]
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    termination_protection_enabled bool
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    version_release_system str
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.
    acceptDataRisksAndForceReplicaSetReconfig String
    If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set accept_data_risks_and_force_replica_set_reconfig to the current date. Learn more about Reconfiguring a Replica Set during a regional outage here.
    advancedConfiguration Property Map
    backupEnabled Boolean

    Flag that indicates whether the cluster can perform backups. If true, the cluster can perform backups. You must set this value to true for NVMe clusters.

    Backup uses: Cloud Backups for dedicated clusters. Shared Cluster Backups for tenant clusters. If "backup_enabled" : false, the cluster doesn't use Atlas backups.

    This parameter defaults to false.

    biConnectorConfig Property Map
    Configuration settings applied to BI Connector for Atlas on this cluster. The MongoDB Connector for Business Intelligence for Atlas (BI Connector) is only available for M10 and larger clusters. The BI Connector is a powerful tool which provides users SQL-based access to their MongoDB databases. As a result, the BI Connector performs operations which may be CPU and memory intensive. Given the limited hardware resources on M10 and M20 cluster tiers, you may experience performance degradation of the cluster when enabling the BI Connector. If this occurs, upgrade to an M30 or larger cluster or disable the BI Connector. See below.
    clusterId String
    The cluster ID.
    clusterType String
    Type of the cluster that you want to create. Accepted values include:

    • REPLICASET Replica set
    • SHARDED Sharded cluster
    • GEOSHARDED Global Cluster
    connectionStrings List<Property Map>
    Set of connection strings that your applications use to connect to this cluster. More info in Connection-strings. Use the parameters in this object to connect your applications to this cluster. To learn more about the formats of connection strings, see Connection String Options. NOTE: Atlas returns the contents of this object after the cluster is operational, not while it builds the cluster.
    createDate String
    diskSizeGb Number
    Capacity, in gigabytes, of the host's root volume. Increase this number to add capacity, up to a maximum possible value of 4096 (i.e., 4 TB). This value must be a positive number. You can't set this value with clusters with local NVMe SSDs. The minimum disk size for dedicated clusters is 10 GB for AWS and GCP. If you specify diskSizeGB with a lower disk size, Atlas defaults to the minimum disk size value. If your cluster includes Azure nodes, this value must correspond to an existing Azure disk type (8, 16, 32, 64, 128, 256, 512, 1024, 2048, or 4095)Atlas calculates storage charges differently depending on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require additional storage space beyond this limitation, consider upgrading your cluster to a higher tier. If your cluster spans cloud service providers, this value defaults to the minimum default of the providers involved.
    encryptionAtRestProvider String
    Possible values are AWS, GCP, AZURE or NONE. Only needed if you desire to manage the keys, see Encryption at Rest using Customer Key Management for complete documentation. You must configure encryption at rest for the Atlas project before enabling it on any cluster in the project. For Documentation, see AWS, GCP and Azure. Requirements are if replication_specs.#.region_configs.#.<type>Specs.instance_size is M10 or greater and backup_enabled is false or omitted.
    labels List<Property Map>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. DEPRECATED Use tags instead.

    Deprecated: This parameter is deprecated and will be removed by September 2024. Please transition to tags.

    mongoDbMajorVersion String
    Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: 4.4, 5.0, 6.0 or 7.0. If omitted, Atlas deploys a cluster that runs MongoDB 7.0. If replication_specs#.region_configs#.<type>Specs.instance_size: M0, M2 or M5, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version. If you set a value to this parameter and set version_release_system CONTINUOUS, the resource returns an error. Either clear this parameter or set version_release_system: LTS.
    mongoDbVersion String
    Version of MongoDB the cluster runs, in major-version.minor-version format.
    name String
    Name of the cluster as it appears in Atlas. Once the cluster is created, its name cannot be changed. WARNING Changing the name will result in destruction of the existing cluster and the creation of a new cluster.
    paused Boolean
    pitEnabled Boolean
    Flag that indicates if the cluster uses Continuous Cloud Backup.
    projectId String
    Unique ID for the project to create the database user.
    replicationSpecs List<Property Map>
    Configuration for cluster regions and the hardware provisioned in them. See below
    retainBackupsEnabled Boolean
    Flag that indicates whether to retain backup snapshots for the deleted dedicated cluster
    rootCertType String
    Certificate Authority that MongoDB Atlas clusters use. You can specify ISRGROOTX1 (for ISRG Root X1).
    stateName String
    Current state of the cluster. The possible states are:

    • IDLE
    • CREATING
    • UPDATING
    • DELETING
    • DELETED
    • REPAIRING
    tags List<Property Map>
    Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below.
    terminationProtectionEnabled Boolean
    Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
    versionReleaseSystem String
    Release cadence that Atlas uses for this cluster. This parameter defaults to LTS. If you set this field to CONTINUOUS, you must omit the mongo_db_major_version field. Atlas accepts:

    • CONTINUOUS: Atlas creates your cluster using the most recent MongoDB release. Atlas automatically updates your cluster to the latest major and rapid MongoDB releases as they become available.
    • LTS: Atlas creates your cluster using the latest patch release of the MongoDB version that you specify in the mongoDBMajorVersion field. Atlas automatically updates your cluster to subsequent patch releases of this MongoDB version. Atlas doesn't update your cluster to newer rapid or major MongoDB releases as they become available.

    Supporting Types

    AdvancedClusterAdvancedConfiguration, AdvancedClusterAdvancedConfigurationArgs

    AdvancedClusterBiConnectorConfig, AdvancedClusterBiConnectorConfigArgs

    Enabled bool
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    ReadPreference string

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    Enabled bool
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    ReadPreference string

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    enabled Boolean
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    readPreference String

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    enabled boolean
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    readPreference string

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    enabled bool
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    read_preference str

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    enabled Boolean
    Specifies whether or not BI Connector for Atlas is enabled on the cluster.l *

    • Set to true to enable BI Connector for Atlas.
    • Set to false to disable BI Connector for Atlas.
    readPreference String

    Specifies the read preference to be used by BI Connector for Atlas on the cluster. Each BI Connector for Atlas read preference contains a distinct combination of readPreference and readPreferenceTags options. For details on BI Connector for Atlas read preferences, refer to the BI Connector Read Preferences Table.

    • Set to "primary" to have BI Connector for Atlas read from the primary.

    • Set to "secondary" to have BI Connector for Atlas read from a secondary member. Default if there are no analytics nodes in the cluster.

    • Set to "analytics" to have BI Connector for Atlas read from an analytics node. Default if the cluster contains analytics nodes.

    AdvancedClusterConnectionString, AdvancedClusterConnectionStringArgs

    Private string
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    PrivateEndpoints List<AdvancedClusterConnectionStringPrivateEndpoint>
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    PrivateSrv string
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    Standard string
    Public mongodb:// connection string for this cluster.
    StandardSrv string
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.
    Private string
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    PrivateEndpoints []AdvancedClusterConnectionStringPrivateEndpoint
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    PrivateSrv string
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    Standard string
    Public mongodb:// connection string for this cluster.
    StandardSrv string
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.
    privateEndpoints List<AdvancedClusterConnectionStringPrivateEndpoint>
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    privateSrv String
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    private_ String
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    standard String
    Public mongodb:// connection string for this cluster.
    standardSrv String
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.
    private string
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    privateEndpoints AdvancedClusterConnectionStringPrivateEndpoint[]
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    privateSrv string
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    standard string
    Public mongodb:// connection string for this cluster.
    standardSrv string
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.
    private str
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    private_endpoints Sequence[AdvancedClusterConnectionStringPrivateEndpoint]
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    private_srv str
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    standard str
    Public mongodb:// connection string for this cluster.
    standard_srv str
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.
    private String
    Network-peering-endpoint-aware mongodb://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    privateEndpoints List<Property Map>
    Private endpoint connection strings. Each object describes the connection strings you can use to connect to this cluster through a private endpoint. Atlas returns this parameter only if you deployed a private endpoint to all regions to which you deployed this cluster's nodes.

    • connection_strings.private_endpoint.#.connection_string - Private-endpoint-aware mongodb://connection string for this private endpoint.
    • connection_strings.private_endpoint.#.srv_connection_string - Private-endpoint-aware mongodb+srv:// connection string for this private endpoint. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS . Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don't need to: Append the seed list or Change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connection_strings.private_endpoint[n].connection_string
    • connection_strings.private_endpoint.#.srv_shard_optimized_connection_string - Private endpoint-aware connection string optimized for sharded clusters that uses the mongodb+srv:// protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString.
    • connection_strings.private_endpoint.#.type - Type of MongoDB process that you connect to with the connection strings. Atlas returns MONGOD for replica sets, or MONGOS for sharded clusters.
    • connection_strings.private_endpoint.#.endpoints - Private endpoint through which you connect to Atlas when you use connection_strings.private_endpoint[n].connection_string or connection_strings.private_endpoint[n].srv_connection_string
    • connection_strings.private_endpoint.#.endpoints.#.endpoint_id - Unique identifier of the private endpoint.
    • connection_strings.private_endpoint.#.endpoints.#.provider_name - Cloud provider to which you deployed the private endpoint. Atlas returns AWS or AZURE.
    • connection_strings.private_endpoint.#.endpoints.#.region - Region to which you deployed the private endpoint.
    privateSrv String
    Network-peering-endpoint-aware mongodb+srv://connection strings for each interface VPC endpoint you configured to connect to this cluster. Returned only if you created a network peering connection to this cluster.
    standard String
    Public mongodb:// connection string for this cluster.
    standardSrv String
    Public mongodb+srv:// connection string for this cluster. The mongodb+srv protocol tells the driver to look up the seed list of hosts in DNS. Atlas synchronizes this list with the nodes in a cluster. If the connection string uses this URI format, you don’t need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn’t , use connectionStrings.standard.

    AdvancedClusterConnectionStringPrivateEndpoint, AdvancedClusterConnectionStringPrivateEndpointArgs

    AdvancedClusterConnectionStringPrivateEndpointEndpoint, AdvancedClusterConnectionStringPrivateEndpointEndpointArgs

    EndpointId string
    ProviderName string
    Region string
    EndpointId string
    ProviderName string
    Region string
    endpointId String
    providerName String
    region String
    endpointId string
    providerName string
    region string
    endpointId String
    providerName String
    region String

    AdvancedClusterLabel, AdvancedClusterLabelArgs

    Key string
    The key that you want to write.
    Value string

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    Key string
    The key that you want to write.
    Value string

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    key String
    The key that you want to write.
    value String

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    key string
    The key that you want to write.
    value string

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    key str
    The key that you want to write.
    value str

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    key String
    The key that you want to write.
    value String

    The value that you want to write.

    NOTE: MongoDB Atlas doesn't display your labels.

    AdvancedClusterReplicationSpec, AdvancedClusterReplicationSpecArgs

    RegionConfigs List<AdvancedClusterReplicationSpecRegionConfig>
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    ContainerId Dictionary<string, string>
    Id string
    NumShards int
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    ZoneName string
    Name for the zone in a Global Cluster.
    RegionConfigs []AdvancedClusterReplicationSpecRegionConfig
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    ContainerId map[string]string
    Id string
    NumShards int
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    ZoneName string
    Name for the zone in a Global Cluster.
    regionConfigs List<AdvancedClusterReplicationSpecRegionConfig>
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    containerId Map<String,String>
    id String
    numShards Integer
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    zoneName String
    Name for the zone in a Global Cluster.
    regionConfigs AdvancedClusterReplicationSpecRegionConfig[]
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    containerId {[key: string]: string}
    id string
    numShards number
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    zoneName string
    Name for the zone in a Global Cluster.
    region_configs Sequence[AdvancedClusterReplicationSpecRegionConfig]
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    container_id Mapping[str, str]
    id str
    num_shards int
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    zone_name str
    Name for the zone in a Global Cluster.
    regionConfigs List<Property Map>
    Configuration for the hardware specifications for nodes set for a given regionEach region_configs object describes the region's priority in elections and the number and type of MongoDB nodes that Atlas deploys to the region. Each region_configs object must have either an analytics_specs object, electable_specs object, or read_only_specs object. See below
    containerId Map<String>
    id String
    numShards Number
    Provide this value if you set a cluster_type of SHARDED or GEOSHARDED. Omit this value if you selected a cluster_type of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a num_shards value of 1 and a cluster_type of SHARDED, Atlas deploys a single-shard sharded cluster. Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations. If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see Convert a replica set to a sharded cluster documentation and Convert a replica set to a sharded cluster tutorial.
    zoneName String
    Name for the zone in a Global Cluster.

    AdvancedClusterReplicationSpecRegionConfig, AdvancedClusterReplicationSpecRegionConfigArgs

    Priority int
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    ProviderName string
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    RegionName string
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    AnalyticsAutoScaling AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    AnalyticsSpecs AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    AutoScaling AdvancedClusterReplicationSpecRegionConfigAutoScaling
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    BackingProviderName string
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    ElectableSpecs AdvancedClusterReplicationSpecRegionConfigElectableSpecs
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    ReadOnlySpecs AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below
    Priority int
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    ProviderName string
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    RegionName string
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    AnalyticsAutoScaling AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    AnalyticsSpecs AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    AutoScaling AdvancedClusterReplicationSpecRegionConfigAutoScaling
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    BackingProviderName string
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    ElectableSpecs AdvancedClusterReplicationSpecRegionConfigElectableSpecs
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    ReadOnlySpecs AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below
    priority Integer
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    providerName String
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    regionName String
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    analyticsAutoScaling AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    analyticsSpecs AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    autoScaling AdvancedClusterReplicationSpecRegionConfigAutoScaling
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    backingProviderName String
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    electableSpecs AdvancedClusterReplicationSpecRegionConfigElectableSpecs
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    readOnlySpecs AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below
    priority number
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    providerName string
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    regionName string
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    analyticsAutoScaling AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    analyticsSpecs AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    autoScaling AdvancedClusterReplicationSpecRegionConfigAutoScaling
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    backingProviderName string
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    electableSpecs AdvancedClusterReplicationSpecRegionConfigElectableSpecs
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    readOnlySpecs AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below
    priority int
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    provider_name str
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    region_name str
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    analytics_auto_scaling AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    analytics_specs AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    auto_scaling AdvancedClusterReplicationSpecRegionConfigAutoScaling
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    backing_provider_name str
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    electable_specs AdvancedClusterReplicationSpecRegionConfigElectableSpecs
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    read_only_specs AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below
    priority Number
    Election priority of the region. For regions with only read-only nodes, set this value to 0.

    • If you have multiple region_configs objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is 7.
    • If your region has set region_configs.#.electable_specs.0.node_count to 1 or higher, it must have a priority of exactly one (1) less than another region in the replication_specs.#.region_configs.# array. The highest-priority region must have a priority of 7. The lowest possible priority is 1.
    providerName String
    Cloud service provider on which the servers are provisioned. The possible values are:

    • AWS - Amazon AWS
    • GCP - Google Cloud Platform
    • AZURE - Microsoft Azure
    • TENANT - M2 or M5 multi-tenant cluster. Use replication_specs.#.region_configs.#.backing_provider_name to set the cloud service provider.
    regionName String
    Physical location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    analyticsAutoScaling Property Map
    Configuration for the Collection of settings that configures analytics-auto-scaling information for the cluster. The values for the analytics_auto_scaling parameter must be the same for every item in the replication_specs array. See below
    analyticsSpecs Property Map
    Hardware specifications for analytics nodes needed in the region. Analytics nodes handle analytic data such as reporting queries from BI Connector for Atlas. Analytics nodes are read-only and can never become the primary. If you don't specify this parameter, no analytics nodes deploy to this region. See below
    autoScaling Property Map
    Configuration for the Collection of settings that configures auto-scaling information for the cluster. The values for the auto_scaling parameter must be the same for every item in the replication_specs array. See below
    backingProviderName String
    Cloud service provider on which you provision the host for a multi-tenant cluster. Use this only when a provider_name is TENANT and instance_size of a specs is M2 or M5.
    electableSpecs Property Map
    Hardware specifications for electable nodes in the region. Electable nodes can become the primary and can enable local reads. If you do not specify this option, no electable nodes are deployed to the region. See below
    readOnlySpecs Property Map
    Hardware specifications for read-only nodes in the region. Read-only nodes can become the primary and can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. See below

    AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScaling, AdvancedClusterReplicationSpecRegionConfigAnalyticsAutoScalingArgs

    ComputeEnabled bool
    ComputeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    ComputeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    ComputeScaleDownEnabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    DiskGbEnabled bool
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.
    ComputeEnabled bool
    ComputeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    ComputeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    ComputeScaleDownEnabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    DiskGbEnabled bool
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.
    computeEnabled Boolean
    computeMaxInstanceSize String
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize String
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled Boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    diskGbEnabled Boolean
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.
    computeEnabled boolean
    computeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    diskGbEnabled boolean
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.
    compute_enabled bool
    compute_max_instance_size str
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    compute_min_instance_size str
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    compute_scale_down_enabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    disk_gb_enabled bool
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.
    computeEnabled Boolean
    computeMaxInstanceSize String
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize String
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled Boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.analytics_auto_scaling.0.compute_min_instance_size.
    diskGbEnabled Boolean
    Flag that indicates whether this cluster enables disk auto-scaling. This parameter defaults to true.

    AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecs, AdvancedClusterReplicationSpecRegionConfigAnalyticsSpecsArgs

    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Integer
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Integer
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instance_size str
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    disk_iops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebs_volume_type str
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    node_count int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.

    AdvancedClusterReplicationSpecRegionConfigAutoScaling, AdvancedClusterReplicationSpecRegionConfigAutoScalingArgs

    ComputeEnabled bool
    ComputeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    ComputeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    ComputeScaleDownEnabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    DiskGbEnabled bool
    ComputeEnabled bool
    ComputeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    ComputeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    ComputeScaleDownEnabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    DiskGbEnabled bool
    computeEnabled Boolean
    computeMaxInstanceSize String
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize String
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled Boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    diskGbEnabled Boolean
    computeEnabled boolean
    computeMaxInstanceSize string
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize string
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    diskGbEnabled boolean
    compute_enabled bool
    compute_max_instance_size str
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    compute_min_instance_size str
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    compute_scale_down_enabled bool
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    disk_gb_enabled bool
    computeEnabled Boolean
    computeMaxInstanceSize String
    Maximum instance size to which your cluster can automatically scale (such as M40). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled is true.
    computeMinInstanceSize String
    Minimum instance size to which your cluster can automatically scale (such as M10). Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_scale_down_enabled is true.
    computeScaleDownEnabled Boolean
    Flag that indicates whether the instance size may scale down. Atlas requires this parameter if replication_specs.#.region_configs.#.auto_scaling.0.compute_enabled : true. If you enable this option, specify a value for replication_specs.#.region_configs.#.auto_scaling.0.compute_min_instance_size.
    diskGbEnabled Boolean

    AdvancedClusterReplicationSpecRegionConfigElectableSpecs, AdvancedClusterReplicationSpecRegionConfigElectableSpecsArgs

    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Integer
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Integer
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instance_size str
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    disk_iops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebs_volume_type str
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    node_count int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.

    AdvancedClusterReplicationSpecRegionConfigReadOnlySpecs, AdvancedClusterReplicationSpecRegionConfigReadOnlySpecsArgs

    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    InstanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    DiskIops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    EbsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    NodeCount int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Integer
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Integer
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize string
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType string
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instance_size str
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    disk_iops int
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebs_volume_type str
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    node_count int
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.
    instanceSize String
    Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts in your instance size.
    diskIops Number
    Target throughput (IOPS) desired for AWS storage attached to your cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster.
    ebsVolumeType String
    Type of storage you want to attach to your AWS-provisioned cluster. Set only if you selected AWS as your cloud service provider. You can't set this parameter for a multi-cloud cluster. Valid values are:

    • STANDARD volume types can't exceed the default IOPS rate for the selected volume size.
    • PROVISIONED volume types must fall within the allowable IOPS range for the selected volume size.
    nodeCount Number
    Number of nodes of the given type for MongoDB Atlas to deploy to the region.

    AdvancedClusterTag, AdvancedClusterTagArgs

    Key string
    Constant that defines the set of the tag.
    Value string

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    Key string
    Constant that defines the set of the tag.
    Value string

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    key String
    Constant that defines the set of the tag.
    value String

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    key string
    Constant that defines the set of the tag.
    value string

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    key str
    Constant that defines the set of the tag.
    value str

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    key String
    Constant that defines the set of the tag.
    value String

    Variable that belongs to the set of the tag.

    To learn more, see Resource Tags.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    MongoDB Atlas v3.15.2 published on Monday, Jun 3, 2024 by Pulumi