1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. DwsClusterV1
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.DwsClusterV1

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages a DWS cluster resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const flavor = flexibleengine.getDwsFlavors({
        availabilityZone: "eu-west-0a",
        vcpus: 8,
    });
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
        cidr: "192.168.0.0/24",
        gatewayIp: "192.168.0.1",
        vpcId: exampleVpc.vpcV1Id,
    });
    const exampleSecgroup = new flexibleengine.NetworkingSecgroupV2("exampleSecgroup", {description: "My neutron security group"});
    const cluster = new flexibleengine.DwsClusterV1("cluster", {
        nodeType: data.flexibleengine_dws_flavors.test.flavors[0].flavor_id,
        numberOfNode: 3,
        userName: "cluster_admin",
        userPwd: "Cluster123@!",
        vpcId: exampleVpc.vpcV1Id,
        subnetId: exampleSubnet.vpcSubnetV1Id,
        securityGroupId: exampleSecgroup.networkingSecgroupV2Id,
        availabilityZone: "eu-west-0a",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    flavor = flexibleengine.get_dws_flavors(availability_zone="eu-west-0a",
        vcpus=8)
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
        cidr="192.168.0.0/24",
        gateway_ip="192.168.0.1",
        vpc_id=example_vpc.vpc_v1_id)
    example_secgroup = flexibleengine.NetworkingSecgroupV2("exampleSecgroup", description="My neutron security group")
    cluster = flexibleengine.DwsClusterV1("cluster",
        node_type=data["flexibleengine_dws_flavors"]["test"]["flavors"][0]["flavor_id"],
        number_of_node=3,
        user_name="cluster_admin",
        user_pwd="Cluster123@!",
        vpc_id=example_vpc.vpc_v1_id,
        subnet_id=example_subnet.vpc_subnet_v1_id,
        security_group_id=example_secgroup.networking_secgroup_v2_id,
        availability_zone="eu-west-0a")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.GetDwsFlavors(ctx, &flexibleengine.GetDwsFlavorsArgs{
    			AvailabilityZone: pulumi.StringRef("eu-west-0a"),
    			Vcpus:            pulumi.Float64Ref(8),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
    			Cidr: pulumi.String("192.168.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
    			Cidr:      pulumi.String("192.168.0.0/24"),
    			GatewayIp: pulumi.String("192.168.0.1"),
    			VpcId:     exampleVpc.VpcV1Id,
    		})
    		if err != nil {
    			return err
    		}
    		exampleSecgroup, err := flexibleengine.NewNetworkingSecgroupV2(ctx, "exampleSecgroup", &flexibleengine.NetworkingSecgroupV2Args{
    			Description: pulumi.String("My neutron security group"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewDwsClusterV1(ctx, "cluster", &flexibleengine.DwsClusterV1Args{
    			NodeType:         pulumi.Any(data.Flexibleengine_dws_flavors.Test.Flavors[0].Flavor_id),
    			NumberOfNode:     pulumi.Float64(3),
    			UserName:         pulumi.String("cluster_admin"),
    			UserPwd:          pulumi.String("Cluster123@!"),
    			VpcId:            exampleVpc.VpcV1Id,
    			SubnetId:         exampleSubnet.VpcSubnetV1Id,
    			SecurityGroupId:  exampleSecgroup.NetworkingSecgroupV2Id,
    			AvailabilityZone: pulumi.String("eu-west-0a"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var flavor = Flexibleengine.GetDwsFlavors.Invoke(new()
        {
            AvailabilityZone = "eu-west-0a",
            Vcpus = 8,
        });
    
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
        {
            Cidr = "192.168.0.0/24",
            GatewayIp = "192.168.0.1",
            VpcId = exampleVpc.VpcV1Id,
        });
    
        var exampleSecgroup = new Flexibleengine.NetworkingSecgroupV2("exampleSecgroup", new()
        {
            Description = "My neutron security group",
        });
    
        var cluster = new Flexibleengine.DwsClusterV1("cluster", new()
        {
            NodeType = data.Flexibleengine_dws_flavors.Test.Flavors[0].Flavor_id,
            NumberOfNode = 3,
            UserName = "cluster_admin",
            UserPwd = "Cluster123@!",
            VpcId = exampleVpc.VpcV1Id,
            SubnetId = exampleSubnet.VpcSubnetV1Id,
            SecurityGroupId = exampleSecgroup.NetworkingSecgroupV2Id,
            AvailabilityZone = "eu-west-0a",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetDwsFlavorsArgs;
    import com.pulumi.flexibleengine.VpcV1;
    import com.pulumi.flexibleengine.VpcV1Args;
    import com.pulumi.flexibleengine.VpcSubnetV1;
    import com.pulumi.flexibleengine.VpcSubnetV1Args;
    import com.pulumi.flexibleengine.NetworkingSecgroupV2;
    import com.pulumi.flexibleengine.NetworkingSecgroupV2Args;
    import com.pulumi.flexibleengine.DwsClusterV1;
    import com.pulumi.flexibleengine.DwsClusterV1Args;
    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) {
            final var flavor = FlexibleengineFunctions.getDwsFlavors(GetDwsFlavorsArgs.builder()
                .availabilityZone("eu-west-0a")
                .vcpus(8)
                .build());
    
            var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
                .cidr("192.168.0.0/24")
                .gatewayIp("192.168.0.1")
                .vpcId(exampleVpc.vpcV1Id())
                .build());
    
            var exampleSecgroup = new NetworkingSecgroupV2("exampleSecgroup", NetworkingSecgroupV2Args.builder()
                .description("My neutron security group")
                .build());
    
            var cluster = new DwsClusterV1("cluster", DwsClusterV1Args.builder()
                .nodeType(data.flexibleengine_dws_flavors().test().flavors()[0].flavor_id())
                .numberOfNode(3)
                .userName("cluster_admin")
                .userPwd("Cluster123@!")
                .vpcId(exampleVpc.vpcV1Id())
                .subnetId(exampleSubnet.vpcSubnetV1Id())
                .securityGroupId(exampleSecgroup.networkingSecgroupV2Id())
                .availabilityZone("eu-west-0a")
                .build());
    
        }
    }
    
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      exampleSubnet:
        type: flexibleengine:VpcSubnetV1
        properties:
          cidr: 192.168.0.0/24
          gatewayIp: 192.168.0.1
          vpcId: ${exampleVpc.vpcV1Id}
      exampleSecgroup:
        type: flexibleengine:NetworkingSecgroupV2
        properties:
          description: My neutron security group
      cluster:
        type: flexibleengine:DwsClusterV1
        properties:
          nodeType: ${data.flexibleengine_dws_flavors.test.flavors[0].flavor_id}
          numberOfNode: 3
          userName: cluster_admin
          userPwd: Cluster123@!
          vpcId: ${exampleVpc.vpcV1Id}
          subnetId: ${exampleSubnet.vpcSubnetV1Id}
          securityGroupId: ${exampleSecgroup.networkingSecgroupV2Id}
          availabilityZone: eu-west-0a
    variables:
      flavor:
        fn::invoke:
          function: flexibleengine:getDwsFlavors
          arguments:
            availabilityZone: eu-west-0a
            vcpus: 8
    

    Create DwsClusterV1 Resource

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

    Constructor syntax

    new DwsClusterV1(name: string, args: DwsClusterV1Args, opts?: CustomResourceOptions);
    @overload
    def DwsClusterV1(resource_name: str,
                     args: DwsClusterV1Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def DwsClusterV1(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     subnet_id: Optional[str] = None,
                     user_pwd: Optional[str] = None,
                     vpc_id: Optional[str] = None,
                     node_type: Optional[str] = None,
                     number_of_node: Optional[float] = None,
                     user_name: Optional[str] = None,
                     security_group_id: Optional[str] = None,
                     public_ip: Optional[DwsClusterV1PublicIpArgs] = None,
                     dws_cluster_v1_id: Optional[str] = None,
                     availability_zone: Optional[str] = None,
                     timeouts: Optional[DwsClusterV1TimeoutsArgs] = None,
                     port: Optional[float] = None,
                     region: Optional[str] = None,
                     name: Optional[str] = None)
    func NewDwsClusterV1(ctx *Context, name string, args DwsClusterV1Args, opts ...ResourceOption) (*DwsClusterV1, error)
    public DwsClusterV1(string name, DwsClusterV1Args args, CustomResourceOptions? opts = null)
    public DwsClusterV1(String name, DwsClusterV1Args args)
    public DwsClusterV1(String name, DwsClusterV1Args args, CustomResourceOptions options)
    
    type: flexibleengine:DwsClusterV1
    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 DwsClusterV1Args
    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 DwsClusterV1Args
    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 DwsClusterV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DwsClusterV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var dwsClusterV1Resource = new Flexibleengine.DwsClusterV1("dwsClusterV1Resource", new()
    {
        SubnetId = "string",
        UserPwd = "string",
        VpcId = "string",
        NodeType = "string",
        NumberOfNode = 0,
        UserName = "string",
        SecurityGroupId = "string",
        PublicIp = new Flexibleengine.Inputs.DwsClusterV1PublicIpArgs
        {
            EipId = "string",
            PublicBindType = "string",
        },
        DwsClusterV1Id = "string",
        AvailabilityZone = "string",
        Timeouts = new Flexibleengine.Inputs.DwsClusterV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        Port = 0,
        Region = "string",
        Name = "string",
    });
    
    example, err := flexibleengine.NewDwsClusterV1(ctx, "dwsClusterV1Resource", &flexibleengine.DwsClusterV1Args{
    	SubnetId:        pulumi.String("string"),
    	UserPwd:         pulumi.String("string"),
    	VpcId:           pulumi.String("string"),
    	NodeType:        pulumi.String("string"),
    	NumberOfNode:    pulumi.Float64(0),
    	UserName:        pulumi.String("string"),
    	SecurityGroupId: pulumi.String("string"),
    	PublicIp: &flexibleengine.DwsClusterV1PublicIpArgs{
    		EipId:          pulumi.String("string"),
    		PublicBindType: pulumi.String("string"),
    	},
    	DwsClusterV1Id:   pulumi.String("string"),
    	AvailabilityZone: pulumi.String("string"),
    	Timeouts: &flexibleengine.DwsClusterV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	Port:   pulumi.Float64(0),
    	Region: pulumi.String("string"),
    	Name:   pulumi.String("string"),
    })
    
    var dwsClusterV1Resource = new DwsClusterV1("dwsClusterV1Resource", DwsClusterV1Args.builder()
        .subnetId("string")
        .userPwd("string")
        .vpcId("string")
        .nodeType("string")
        .numberOfNode(0)
        .userName("string")
        .securityGroupId("string")
        .publicIp(DwsClusterV1PublicIpArgs.builder()
            .eipId("string")
            .publicBindType("string")
            .build())
        .dwsClusterV1Id("string")
        .availabilityZone("string")
        .timeouts(DwsClusterV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .port(0)
        .region("string")
        .name("string")
        .build());
    
    dws_cluster_v1_resource = flexibleengine.DwsClusterV1("dwsClusterV1Resource",
        subnet_id="string",
        user_pwd="string",
        vpc_id="string",
        node_type="string",
        number_of_node=0,
        user_name="string",
        security_group_id="string",
        public_ip={
            "eip_id": "string",
            "public_bind_type": "string",
        },
        dws_cluster_v1_id="string",
        availability_zone="string",
        timeouts={
            "create": "string",
            "delete": "string",
        },
        port=0,
        region="string",
        name="string")
    
    const dwsClusterV1Resource = new flexibleengine.DwsClusterV1("dwsClusterV1Resource", {
        subnetId: "string",
        userPwd: "string",
        vpcId: "string",
        nodeType: "string",
        numberOfNode: 0,
        userName: "string",
        securityGroupId: "string",
        publicIp: {
            eipId: "string",
            publicBindType: "string",
        },
        dwsClusterV1Id: "string",
        availabilityZone: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        port: 0,
        region: "string",
        name: "string",
    });
    
    type: flexibleengine:DwsClusterV1
    properties:
        availabilityZone: string
        dwsClusterV1Id: string
        name: string
        nodeType: string
        numberOfNode: 0
        port: 0
        publicIp:
            eipId: string
            publicBindType: string
        region: string
        securityGroupId: string
        subnetId: string
        timeouts:
            create: string
            delete: string
        userName: string
        userPwd: string
        vpcId: string
    

    DwsClusterV1 Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DwsClusterV1 resource accepts the following input properties:

    NodeType string
    Node type.Changing this will create a new resource.
    NumberOfNode double
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    SubnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    VpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    AvailabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    DwsClusterV1Id string
    Cluster ID
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    Port double
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    PublicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    Region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    Timeouts DwsClusterV1Timeouts
    NodeType string
    Node type.Changing this will create a new resource.
    NumberOfNode float64
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    SubnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    VpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    AvailabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    DwsClusterV1Id string
    Cluster ID
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    Port float64
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    PublicIp DwsClusterV1PublicIpArgs

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    Region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    Timeouts DwsClusterV1TimeoutsArgs
    nodeType String
    Node type.Changing this will create a new resource.
    numberOfNode Double
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    subnetId String
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd String
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    vpcId String
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone String
    AZ in a cluster.Changing this will create a new resource.
    dwsClusterV1Id String
    Cluster ID
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    port Double
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    publicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region String
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    timeouts DwsClusterV1Timeouts
    nodeType string
    Node type.Changing this will create a new resource.
    numberOfNode number
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    securityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    subnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    userName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    vpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    dwsClusterV1Id string
    Cluster ID
    name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    port number
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    publicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    timeouts DwsClusterV1Timeouts
    node_type str
    Node type.Changing this will create a new resource.
    number_of_node float
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    security_group_id str
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    subnet_id str
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    user_name str
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    user_pwd str
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    vpc_id str
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availability_zone str
    AZ in a cluster.Changing this will create a new resource.
    dws_cluster_v1_id str
    Cluster ID
    name str
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    port float
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    public_ip DwsClusterV1PublicIpArgs

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region str
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    timeouts DwsClusterV1TimeoutsArgs
    nodeType String
    Node type.Changing this will create a new resource.
    numberOfNode Number
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    subnetId String
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd String
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    vpcId String
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone String
    AZ in a cluster.Changing this will create a new resource.
    dwsClusterV1Id String
    Cluster ID
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    port Number
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    publicIp Property Map

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region String
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    timeouts Property Map

    Outputs

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

    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    Endpoints List<DwsClusterV1Endpoint>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps List<string>
    List of private network IP address.
    PublicEndpoints List<DwsClusterV1PublicEndpoint>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    Status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state.
    TaskStatus string
    Cluster management task.
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    Version string
    Data warehouse version
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    Endpoints []DwsClusterV1Endpoint
    The private network connection information about the cluster. The endpoints object structure is documented below.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIps []string
    List of private network IP address.
    PublicEndpoints []DwsClusterV1PublicEndpoint
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    Status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state.
    TaskStatus string
    Cluster management task.
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    Version string
    Data warehouse version
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    endpoints List<DwsClusterV1Endpoint>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<DwsClusterV1PublicEndpoint>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    status String
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state.
    taskStatus String
    Cluster management task.
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    version String
    Data warehouse version
    created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    endpoints DwsClusterV1Endpoint[]
    The private network connection information about the cluster. The endpoints object structure is documented below.
    id string
    The provider-assigned unique ID for this managed resource.
    privateIps string[]
    List of private network IP address.
    publicEndpoints DwsClusterV1PublicEndpoint[]
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus string
    Sub-status of clusters in the AVAILABLE state.
    taskStatus string
    Cluster management task.
    updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    version string
    Data warehouse version
    created str
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    endpoints Sequence[DwsClusterV1Endpoint]
    The private network connection information about the cluster. The endpoints object structure is documented below.
    id str
    The provider-assigned unique ID for this managed resource.
    private_ips Sequence[str]
    List of private network IP address.
    public_endpoints Sequence[DwsClusterV1PublicEndpoint]
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    status str
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    sub_status str
    Sub-status of clusters in the AVAILABLE state.
    task_status str
    Cluster management task.
    updated str
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    version str
    Data warehouse version
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    endpoints List<Property Map>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    id String
    The provider-assigned unique ID for this managed resource.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<Property Map>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    status String
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state.
    taskStatus String
    Cluster management task.
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    version String
    Data warehouse version

    Look up Existing DwsClusterV1 Resource

    Get an existing DwsClusterV1 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?: DwsClusterV1State, opts?: CustomResourceOptions): DwsClusterV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            availability_zone: Optional[str] = None,
            created: Optional[str] = None,
            dws_cluster_v1_id: Optional[str] = None,
            endpoints: Optional[Sequence[DwsClusterV1EndpointArgs]] = None,
            name: Optional[str] = None,
            node_type: Optional[str] = None,
            number_of_node: Optional[float] = None,
            port: Optional[float] = None,
            private_ips: Optional[Sequence[str]] = None,
            public_endpoints: Optional[Sequence[DwsClusterV1PublicEndpointArgs]] = None,
            public_ip: Optional[DwsClusterV1PublicIpArgs] = None,
            region: Optional[str] = None,
            security_group_id: Optional[str] = None,
            status: Optional[str] = None,
            sub_status: Optional[str] = None,
            subnet_id: Optional[str] = None,
            task_status: Optional[str] = None,
            timeouts: Optional[DwsClusterV1TimeoutsArgs] = None,
            updated: Optional[str] = None,
            user_name: Optional[str] = None,
            user_pwd: Optional[str] = None,
            version: Optional[str] = None,
            vpc_id: Optional[str] = None) -> DwsClusterV1
    func GetDwsClusterV1(ctx *Context, name string, id IDInput, state *DwsClusterV1State, opts ...ResourceOption) (*DwsClusterV1, error)
    public static DwsClusterV1 Get(string name, Input<string> id, DwsClusterV1State? state, CustomResourceOptions? opts = null)
    public static DwsClusterV1 get(String name, Output<String> id, DwsClusterV1State state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:DwsClusterV1    get:      id: ${id}
    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:
    AvailabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    DwsClusterV1Id string
    Cluster ID
    Endpoints List<DwsClusterV1Endpoint>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    NodeType string
    Node type.Changing this will create a new resource.
    NumberOfNode double
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    Port double
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    PrivateIps List<string>
    List of private network IP address.
    PublicEndpoints List<DwsClusterV1PublicEndpoint>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    PublicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    Region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    Status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state.
    SubnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    TaskStatus string
    Cluster management task.
    Timeouts DwsClusterV1Timeouts
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    Version string
    Data warehouse version
    VpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    AvailabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    Created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    DwsClusterV1Id string
    Cluster ID
    Endpoints []DwsClusterV1EndpointArgs
    The private network connection information about the cluster. The endpoints object structure is documented below.
    Name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    NodeType string
    Node type.Changing this will create a new resource.
    NumberOfNode float64
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    Port float64
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    PrivateIps []string
    List of private network IP address.
    PublicEndpoints []DwsClusterV1PublicEndpointArgs
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    PublicIp DwsClusterV1PublicIpArgs

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    Region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    SecurityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    Status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    SubStatus string
    Sub-status of clusters in the AVAILABLE state.
    SubnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    TaskStatus string
    Cluster management task.
    Timeouts DwsClusterV1TimeoutsArgs
    Updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    UserName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    UserPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    Version string
    Data warehouse version
    VpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone String
    AZ in a cluster.Changing this will create a new resource.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    dwsClusterV1Id String
    Cluster ID
    endpoints List<DwsClusterV1Endpoint>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    nodeType String
    Node type.Changing this will create a new resource.
    numberOfNode Double
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    port Double
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<DwsClusterV1PublicEndpoint>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    publicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region String
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    status String
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state.
    subnetId String
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    taskStatus String
    Cluster management task.
    timeouts DwsClusterV1Timeouts
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd String
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    version String
    Data warehouse version
    vpcId String
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone string
    AZ in a cluster.Changing this will create a new resource.
    created string
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    dwsClusterV1Id string
    Cluster ID
    endpoints DwsClusterV1Endpoint[]
    The private network connection information about the cluster. The endpoints object structure is documented below.
    name string
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    nodeType string
    Node type.Changing this will create a new resource.
    numberOfNode number
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    port number
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    privateIps string[]
    List of private network IP address.
    publicEndpoints DwsClusterV1PublicEndpoint[]
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    publicIp DwsClusterV1PublicIp

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region string
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    securityGroupId string
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    status string
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus string
    Sub-status of clusters in the AVAILABLE state.
    subnetId string
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    taskStatus string
    Cluster management task.
    timeouts DwsClusterV1Timeouts
    updated string
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    userName string
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd string
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    version string
    Data warehouse version
    vpcId string
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availability_zone str
    AZ in a cluster.Changing this will create a new resource.
    created str
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    dws_cluster_v1_id str
    Cluster ID
    endpoints Sequence[DwsClusterV1EndpointArgs]
    The private network connection information about the cluster. The endpoints object structure is documented below.
    name str
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    node_type str
    Node type.Changing this will create a new resource.
    number_of_node float
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    port float
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    private_ips Sequence[str]
    List of private network IP address.
    public_endpoints Sequence[DwsClusterV1PublicEndpointArgs]
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    public_ip DwsClusterV1PublicIpArgs

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region str
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    security_group_id str
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    status str
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    sub_status str
    Sub-status of clusters in the AVAILABLE state.
    subnet_id str
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    task_status str
    Cluster management task.
    timeouts DwsClusterV1TimeoutsArgs
    updated str
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    user_name str
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    user_pwd str
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    version str
    Data warehouse version
    vpc_id str
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.
    availabilityZone String
    AZ in a cluster.Changing this will create a new resource.
    created String
    Cluster creation time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    dwsClusterV1Id String
    Cluster ID
    endpoints List<Property Map>
    The private network connection information about the cluster. The endpoints object structure is documented below.
    name String
    Cluster name, which must be unique and contains 4 to 64 characters, which consist of letters, digits, hyphens (-), or underscores(_) only and must start with a letter. Changing this will create a new resource.
    nodeType String
    Node type.Changing this will create a new resource.
    numberOfNode Number
    Number of nodes in a cluster. The value ranges from 3 to 32. Changing this will create a new resource.
    port Number
    Service port of a cluster (8000 to 10000). The default value is 8000. Changing this will create a new resource.
    privateIps List<String>
    List of private network IP address.
    publicEndpoints List<Property Map>
    The public network connection information about the cluster. The public_endpoints object structure is documented below.
    publicIp Property Map

    Public IP address.The public_ip object structure is documented below. Changing this will create a new resource.

    The public_ip block supports:

    region String
    Specifies the region in which to create the DWS cluster (v1) resource. If omitted, the provider-level region will be used. Changing this will create a new DWS cluster (v1) resource.
    securityGroupId String
    ID of a security group. The ID is used for configuring cluster network. Changing this will create a new resource.
    status String
    Cluster status, which can be one of the following: CREATING, AVAILABLE, UNAVAILABLE and CREATION FAILED.
    subStatus String
    Sub-status of clusters in the AVAILABLE state.
    subnetId String
    The ID of the VPC Subnet, which is used for configuring cluster network. Changing this will create a new resource.
    taskStatus String
    Cluster management task.
    timeouts Property Map
    updated String
    Last modification time of a cluster. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ.
    userName String
    Administrator username for logging in to a data warehouse cluster The administrator username must:

    • Consist of lowercase letters, digits, or underscores.
    • Start with a lowercase letter or an underscore.
    • Contain 1 to 63 characters.
    • Cannot be a keyword of the DWS database. Changing this will create a new resource.
    userPwd String
    Administrator password for logging in to a data warehouse cluster. A password must conform to the following rules:

    • Contains 8 to 32 characters.
    • Cannot be the same as the username or the username written in reverse order.
    • Contains three types of lowercase letters, uppercase letters, digits and special characters ~!@#%^&*()-_=+|[{}];:,<.>/? Changing this will create a new resource.
    version String
    Data warehouse version
    vpcId String
    VPC ID, which is used for configuring cluster network. Changing this will create a new resource.

    Supporting Types

    DwsClusterV1Endpoint, DwsClusterV1EndpointArgs

    ConnectInfo string
    Private network connection information
    JdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    ConnectInfo string
    Private network connection information
    JdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo String
    Private network connection information
    jdbcUrl String
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo string
    Private network connection information
    jdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connect_info str
    Private network connection information
    jdbc_url str
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    connectInfo String
    Private network connection information
    jdbcUrl String
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>

    DwsClusterV1PublicEndpoint, DwsClusterV1PublicEndpointArgs

    JdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    PublicConnectInfo string
    Public network connection information
    JdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    PublicConnectInfo string
    Public network connection information
    jdbcUrl String
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo String
    Public network connection information
    jdbcUrl string
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo string
    Public network connection information
    jdbc_url str
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    public_connect_info str
    Public network connection information
    jdbcUrl String
    JDBC URL. The following is the default format: jdbc:postgresql://< public_connect_info>/<YOUR_DATABASE_NAME>
    publicConnectInfo String
    Public network connection information

    DwsClusterV1PublicIp, DwsClusterV1PublicIpArgs

    EipId string
    EIP ID. Changing this will create a new resource.
    PublicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
    EipId string
    EIP ID. Changing this will create a new resource.
    PublicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
    eipId String
    EIP ID. Changing this will create a new resource.
    publicBindType String
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
    eipId string
    EIP ID. Changing this will create a new resource.
    publicBindType string
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
    eip_id str
    EIP ID. Changing this will create a new resource.
    public_bind_type str
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.
    eipId String
    EIP ID. Changing this will create a new resource.
    publicBindType String
    Binding type of an EIP. The value can be either of the following: auto_assign, not_use and bind_existing. The default value is not_use. Changing this will create a new resource.

    DwsClusterV1Timeouts, DwsClusterV1TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    DWS cluster can be imported using the id, e.g.

    $ pulumi import flexibleengine:index/dwsClusterV1:DwsClusterV1 cluster 1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p
    

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

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud