1. Packages
  2. Scaleway
  3. API Docs
  4. iot
  5. Hub
Scaleway v1.26.0 published on Friday, Mar 28, 2025 by pulumiverse

scaleway.iot.Hub

Explore with Pulumi AI

Example Usage

Basic

import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";

const main = new scaleway.iot.Hub("main", {
    name: "test-iot",
    productPlan: "plan_shared",
});
Copy
import pulumi
import pulumiverse_scaleway as scaleway

main = scaleway.iot.Hub("main",
    name="test-iot",
    product_plan="plan_shared")
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/iot"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iot.NewHub(ctx, "main", &iot.HubArgs{
			Name:        pulumi.String("test-iot"),
			ProductPlan: pulumi.String("plan_shared"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;

return await Deployment.RunAsync(() => 
{
    var main = new Scaleway.Iot.Hub("main", new()
    {
        Name = "test-iot",
        ProductPlan = "plan_shared",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.iot.Hub;
import com.pulumi.scaleway.iot.HubArgs;
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 main = new Hub("main", HubArgs.builder()
            .name("test-iot")
            .productPlan("plan_shared")
            .build());

    }
}
Copy
resources:
  main:
    type: scaleway:iot:Hub
    properties:
      name: test-iot
      productPlan: plan_shared
Copy

Create Hub Resource

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

Constructor syntax

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

@overload
def Hub(resource_name: str,
        opts: Optional[ResourceOptions] = None,
        product_plan: Optional[str] = None,
        device_auto_provisioning: Optional[bool] = None,
        disable_events: Optional[bool] = None,
        enabled: Optional[bool] = None,
        events_topic_prefix: Optional[str] = None,
        hub_ca: Optional[str] = None,
        hub_ca_challenge: Optional[str] = None,
        name: Optional[str] = None,
        project_id: Optional[str] = None,
        region: Optional[str] = None)
func NewHub(ctx *Context, name string, args HubArgs, opts ...ResourceOption) (*Hub, error)
public Hub(string name, HubArgs args, CustomResourceOptions? opts = null)
public Hub(String name, HubArgs args)
public Hub(String name, HubArgs args, CustomResourceOptions options)
type: scaleway:iot:Hub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. HubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. HubArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. HubArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. HubArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. HubArgs
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 hubResource = new Scaleway.Iot.Hub("hubResource", new()
{
    ProductPlan = "string",
    DeviceAutoProvisioning = false,
    DisableEvents = false,
    Enabled = false,
    EventsTopicPrefix = "string",
    HubCa = "string",
    HubCaChallenge = "string",
    Name = "string",
    ProjectId = "string",
    Region = "string",
});
Copy
example, err := iot.NewHub(ctx, "hubResource", &iot.HubArgs{
	ProductPlan:            pulumi.String("string"),
	DeviceAutoProvisioning: pulumi.Bool(false),
	DisableEvents:          pulumi.Bool(false),
	Enabled:                pulumi.Bool(false),
	EventsTopicPrefix:      pulumi.String("string"),
	HubCa:                  pulumi.String("string"),
	HubCaChallenge:         pulumi.String("string"),
	Name:                   pulumi.String("string"),
	ProjectId:              pulumi.String("string"),
	Region:                 pulumi.String("string"),
})
Copy
var hubResource = new Hub("hubResource", HubArgs.builder()
    .productPlan("string")
    .deviceAutoProvisioning(false)
    .disableEvents(false)
    .enabled(false)
    .eventsTopicPrefix("string")
    .hubCa("string")
    .hubCaChallenge("string")
    .name("string")
    .projectId("string")
    .region("string")
    .build());
Copy
hub_resource = scaleway.iot.Hub("hubResource",
    product_plan="string",
    device_auto_provisioning=False,
    disable_events=False,
    enabled=False,
    events_topic_prefix="string",
    hub_ca="string",
    hub_ca_challenge="string",
    name="string",
    project_id="string",
    region="string")
Copy
const hubResource = new scaleway.iot.Hub("hubResource", {
    productPlan: "string",
    deviceAutoProvisioning: false,
    disableEvents: false,
    enabled: false,
    eventsTopicPrefix: "string",
    hubCa: "string",
    hubCaChallenge: "string",
    name: "string",
    projectId: "string",
    region: "string",
});
Copy
type: scaleway:iot:Hub
properties:
    deviceAutoProvisioning: false
    disableEvents: false
    enabled: false
    eventsTopicPrefix: string
    hubCa: string
    hubCaChallenge: string
    name: string
    productPlan: string
    projectId: string
    region: string
Copy

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

ProductPlan
This property is required.
Changes to this property will trigger replacement.
string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

DeviceAutoProvisioning bool
Wether to enable the device auto provisioning or not
DisableEvents bool
Whether to enable the hub events or not
Enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

EventsTopicPrefix string
Topic prefix for the hub events
HubCa string
Custom user provided certificate authority
HubCaChallenge string
Challenge certificate for the user provided hub CA
Name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
Region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
ProductPlan
This property is required.
Changes to this property will trigger replacement.
string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

DeviceAutoProvisioning bool
Wether to enable the device auto provisioning or not
DisableEvents bool
Whether to enable the hub events or not
Enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

EventsTopicPrefix string
Topic prefix for the hub events
HubCa string
Custom user provided certificate authority
HubCaChallenge string
Challenge certificate for the user provided hub CA
Name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
Region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
productPlan
This property is required.
Changes to this property will trigger replacement.
String

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

deviceAutoProvisioning Boolean
Wether to enable the device auto provisioning or not
disableEvents Boolean
Whether to enable the hub events or not
enabled Boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

eventsTopicPrefix String
Topic prefix for the hub events
hubCa String
Custom user provided certificate authority
hubCaChallenge String
Challenge certificate for the user provided hub CA
name String
The name of the IoT Hub instance you want to create (e.g. my-hub).
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. String
region) The region in which the Database Instance should be created.
productPlan
This property is required.
Changes to this property will trigger replacement.
string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

deviceAutoProvisioning boolean
Wether to enable the device auto provisioning or not
disableEvents boolean
Whether to enable the hub events or not
enabled boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

eventsTopicPrefix string
Topic prefix for the hub events
hubCa string
Custom user provided certificate authority
hubCaChallenge string
Challenge certificate for the user provided hub CA
name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
projectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
product_plan
This property is required.
Changes to this property will trigger replacement.
str

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

device_auto_provisioning bool
Wether to enable the device auto provisioning or not
disable_events bool
Whether to enable the hub events or not
enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

events_topic_prefix str
Topic prefix for the hub events
hub_ca str
Custom user provided certificate authority
hub_ca_challenge str
Challenge certificate for the user provided hub CA
name str
The name of the IoT Hub instance you want to create (e.g. my-hub).
project_id Changes to this property will trigger replacement. str
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. str
region) The region in which the Database Instance should be created.
productPlan
This property is required.
Changes to this property will trigger replacement.
String

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

deviceAutoProvisioning Boolean
Wether to enable the device auto provisioning or not
disableEvents Boolean
Whether to enable the hub events or not
enabled Boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

eventsTopicPrefix String
Topic prefix for the hub events
hubCa String
Custom user provided certificate authority
hubCaChallenge String
Challenge certificate for the user provided hub CA
name String
The name of the IoT Hub instance you want to create (e.g. my-hub).
projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. String
region) The region in which the Database Instance should be created.

Outputs

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

ConnectedDeviceCount int
The current number of connected devices in the Hub.
CreatedAt string
The date and time the Hub was created.
DeviceCount int
The number of registered devices in the Hub.
Endpoint string
The MQTT network endpoint to connect MQTT devices to.
Id string
The provider-assigned unique ID for this managed resource.
MqttCa string
The MQTT certificat content
MqttCaUrl string
The MQTT ca url
OrganizationId string
The organization_id you want to attach the resource to
Status string
The current status of the Hub.
UpdatedAt string
The date and time the Hub resource was updated.
ConnectedDeviceCount int
The current number of connected devices in the Hub.
CreatedAt string
The date and time the Hub was created.
DeviceCount int
The number of registered devices in the Hub.
Endpoint string
The MQTT network endpoint to connect MQTT devices to.
Id string
The provider-assigned unique ID for this managed resource.
MqttCa string
The MQTT certificat content
MqttCaUrl string
The MQTT ca url
OrganizationId string
The organization_id you want to attach the resource to
Status string
The current status of the Hub.
UpdatedAt string
The date and time the Hub resource was updated.
connectedDeviceCount Integer
The current number of connected devices in the Hub.
createdAt String
The date and time the Hub was created.
deviceCount Integer
The number of registered devices in the Hub.
endpoint String
The MQTT network endpoint to connect MQTT devices to.
id String
The provider-assigned unique ID for this managed resource.
mqttCa String
The MQTT certificat content
mqttCaUrl String
The MQTT ca url
organizationId String
The organization_id you want to attach the resource to
status String
The current status of the Hub.
updatedAt String
The date and time the Hub resource was updated.
connectedDeviceCount number
The current number of connected devices in the Hub.
createdAt string
The date and time the Hub was created.
deviceCount number
The number of registered devices in the Hub.
endpoint string
The MQTT network endpoint to connect MQTT devices to.
id string
The provider-assigned unique ID for this managed resource.
mqttCa string
The MQTT certificat content
mqttCaUrl string
The MQTT ca url
organizationId string
The organization_id you want to attach the resource to
status string
The current status of the Hub.
updatedAt string
The date and time the Hub resource was updated.
connected_device_count int
The current number of connected devices in the Hub.
created_at str
The date and time the Hub was created.
device_count int
The number of registered devices in the Hub.
endpoint str
The MQTT network endpoint to connect MQTT devices to.
id str
The provider-assigned unique ID for this managed resource.
mqtt_ca str
The MQTT certificat content
mqtt_ca_url str
The MQTT ca url
organization_id str
The organization_id you want to attach the resource to
status str
The current status of the Hub.
updated_at str
The date and time the Hub resource was updated.
connectedDeviceCount Number
The current number of connected devices in the Hub.
createdAt String
The date and time the Hub was created.
deviceCount Number
The number of registered devices in the Hub.
endpoint String
The MQTT network endpoint to connect MQTT devices to.
id String
The provider-assigned unique ID for this managed resource.
mqttCa String
The MQTT certificat content
mqttCaUrl String
The MQTT ca url
organizationId String
The organization_id you want to attach the resource to
status String
The current status of the Hub.
updatedAt String
The date and time the Hub resource was updated.

Look up Existing Hub Resource

Get an existing Hub 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?: HubState, opts?: CustomResourceOptions): Hub
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        connected_device_count: Optional[int] = None,
        created_at: Optional[str] = None,
        device_auto_provisioning: Optional[bool] = None,
        device_count: Optional[int] = None,
        disable_events: Optional[bool] = None,
        enabled: Optional[bool] = None,
        endpoint: Optional[str] = None,
        events_topic_prefix: Optional[str] = None,
        hub_ca: Optional[str] = None,
        hub_ca_challenge: Optional[str] = None,
        mqtt_ca: Optional[str] = None,
        mqtt_ca_url: Optional[str] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        product_plan: Optional[str] = None,
        project_id: Optional[str] = None,
        region: Optional[str] = None,
        status: Optional[str] = None,
        updated_at: Optional[str] = None) -> Hub
func GetHub(ctx *Context, name string, id IDInput, state *HubState, opts ...ResourceOption) (*Hub, error)
public static Hub Get(string name, Input<string> id, HubState? state, CustomResourceOptions? opts = null)
public static Hub get(String name, Output<String> id, HubState state, CustomResourceOptions options)
resources:  _:    type: scaleway:iot:Hub    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ConnectedDeviceCount int
The current number of connected devices in the Hub.
CreatedAt string
The date and time the Hub was created.
DeviceAutoProvisioning bool
Wether to enable the device auto provisioning or not
DeviceCount int
The number of registered devices in the Hub.
DisableEvents bool
Whether to enable the hub events or not
Enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

Endpoint string
The MQTT network endpoint to connect MQTT devices to.
EventsTopicPrefix string
Topic prefix for the hub events
HubCa string
Custom user provided certificate authority
HubCaChallenge string
Challenge certificate for the user provided hub CA
MqttCa string
The MQTT certificat content
MqttCaUrl string
The MQTT ca url
Name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
OrganizationId string
The organization_id you want to attach the resource to
ProductPlan Changes to this property will trigger replacement. string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
Region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
Status string
The current status of the Hub.
UpdatedAt string
The date and time the Hub resource was updated.
ConnectedDeviceCount int
The current number of connected devices in the Hub.
CreatedAt string
The date and time the Hub was created.
DeviceAutoProvisioning bool
Wether to enable the device auto provisioning or not
DeviceCount int
The number of registered devices in the Hub.
DisableEvents bool
Whether to enable the hub events or not
Enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

Endpoint string
The MQTT network endpoint to connect MQTT devices to.
EventsTopicPrefix string
Topic prefix for the hub events
HubCa string
Custom user provided certificate authority
HubCaChallenge string
Challenge certificate for the user provided hub CA
MqttCa string
The MQTT certificat content
MqttCaUrl string
The MQTT ca url
Name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
OrganizationId string
The organization_id you want to attach the resource to
ProductPlan Changes to this property will trigger replacement. string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

ProjectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
Region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
Status string
The current status of the Hub.
UpdatedAt string
The date and time the Hub resource was updated.
connectedDeviceCount Integer
The current number of connected devices in the Hub.
createdAt String
The date and time the Hub was created.
deviceAutoProvisioning Boolean
Wether to enable the device auto provisioning or not
deviceCount Integer
The number of registered devices in the Hub.
disableEvents Boolean
Whether to enable the hub events or not
enabled Boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

endpoint String
The MQTT network endpoint to connect MQTT devices to.
eventsTopicPrefix String
Topic prefix for the hub events
hubCa String
Custom user provided certificate authority
hubCaChallenge String
Challenge certificate for the user provided hub CA
mqttCa String
The MQTT certificat content
mqttCaUrl String
The MQTT ca url
name String
The name of the IoT Hub instance you want to create (e.g. my-hub).
organizationId String
The organization_id you want to attach the resource to
productPlan Changes to this property will trigger replacement. String

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. String
region) The region in which the Database Instance should be created.
status String
The current status of the Hub.
updatedAt String
The date and time the Hub resource was updated.
connectedDeviceCount number
The current number of connected devices in the Hub.
createdAt string
The date and time the Hub was created.
deviceAutoProvisioning boolean
Wether to enable the device auto provisioning or not
deviceCount number
The number of registered devices in the Hub.
disableEvents boolean
Whether to enable the hub events or not
enabled boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

endpoint string
The MQTT network endpoint to connect MQTT devices to.
eventsTopicPrefix string
Topic prefix for the hub events
hubCa string
Custom user provided certificate authority
hubCaChallenge string
Challenge certificate for the user provided hub CA
mqttCa string
The MQTT certificat content
mqttCaUrl string
The MQTT ca url
name string
The name of the IoT Hub instance you want to create (e.g. my-hub).
organizationId string
The organization_id you want to attach the resource to
productPlan Changes to this property will trigger replacement. string

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

projectId Changes to this property will trigger replacement. string
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. string
region) The region in which the Database Instance should be created.
status string
The current status of the Hub.
updatedAt string
The date and time the Hub resource was updated.
connected_device_count int
The current number of connected devices in the Hub.
created_at str
The date and time the Hub was created.
device_auto_provisioning bool
Wether to enable the device auto provisioning or not
device_count int
The number of registered devices in the Hub.
disable_events bool
Whether to enable the hub events or not
enabled bool

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

endpoint str
The MQTT network endpoint to connect MQTT devices to.
events_topic_prefix str
Topic prefix for the hub events
hub_ca str
Custom user provided certificate authority
hub_ca_challenge str
Challenge certificate for the user provided hub CA
mqtt_ca str
The MQTT certificat content
mqtt_ca_url str
The MQTT ca url
name str
The name of the IoT Hub instance you want to create (e.g. my-hub).
organization_id str
The organization_id you want to attach the resource to
product_plan Changes to this property will trigger replacement. str

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

project_id Changes to this property will trigger replacement. str
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. str
region) The region in which the Database Instance should be created.
status str
The current status of the Hub.
updated_at str
The date and time the Hub resource was updated.
connectedDeviceCount Number
The current number of connected devices in the Hub.
createdAt String
The date and time the Hub was created.
deviceAutoProvisioning Boolean
Wether to enable the device auto provisioning or not
deviceCount Number
The number of registered devices in the Hub.
disableEvents Boolean
Whether to enable the hub events or not
enabled Boolean

Wether the IoT Hub instance should be enabled or not.

Important: Updates to enabled will disconnect eventually connected devices.

endpoint String
The MQTT network endpoint to connect MQTT devices to.
eventsTopicPrefix String
Topic prefix for the hub events
hubCa String
Custom user provided certificate authority
hubCaChallenge String
Challenge certificate for the user provided hub CA
mqttCa String
The MQTT certificat content
mqttCaUrl String
The MQTT ca url
name String
The name of the IoT Hub instance you want to create (e.g. my-hub).
organizationId String
The organization_id you want to attach the resource to
productPlan Changes to this property will trigger replacement. String

Product plan to create the hub, see documentation for available product plans (e.g. plan_shared)

Important: Updates to product_plan will recreate the IoT Hub Instance.

projectId Changes to this property will trigger replacement. String
project_id) The ID of the project the IoT Hub Instance is associated with.
region Changes to this property will trigger replacement. String
region) The region in which the Database Instance should be created.
status String
The current status of the Hub.
updatedAt String
The date and time the Hub resource was updated.

Import

IoT Hubs can be imported using the {region}/{id}, e.g.

bash

$ pulumi import scaleway:iot/hub:Hub hub01 fr-par/11111111-1111-1111-1111-111111111111
Copy

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

Package Details

Repository
scaleway pulumiverse/pulumi-scaleway
License
Apache-2.0
Notes
This Pulumi package is based on the scaleway Terraform Provider.