scaleway.IotRoute
Explore with Pulumi AI
Create IotRoute Resource
new IotRoute(name: string, args: IotRouteArgs, opts?: CustomResourceOptions);
@overload
def IotRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[IotRouteDatabaseArgs] = None,
hub_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
rest: Optional[IotRouteRestArgs] = None,
s3: Optional[IotRouteS3Args] = None,
topic: Optional[str] = None)
@overload
def IotRoute(resource_name: str,
args: IotRouteArgs,
opts: Optional[ResourceOptions] = None)
func NewIotRoute(ctx *Context, name string, args IotRouteArgs, opts ...ResourceOption) (*IotRoute, error)
public IotRoute(string name, IotRouteArgs args, CustomResourceOptions? opts = null)
public IotRoute(String name, IotRouteArgs args)
public IotRoute(String name, IotRouteArgs args, CustomResourceOptions options)
type: scaleway:IotRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotRouteArgs
- 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 IotRouteArgs
- 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 IotRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotRouteArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IotRoute Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The IotRoute resource accepts the following input properties:
- Hub
Id string The ID of the route's hub
- Topic string
The Topic the route subscribes to (wildcards allowed)
- Database
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route Database Database Route parameters
- Name string
The name of the route
- Region string
The region you want to attach the resource to
- Rest
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route Rest Rest Route parameters
- S3
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route S3 S3 Route parameters
- Hub
Id string The ID of the route's hub
- Topic string
The Topic the route subscribes to (wildcards allowed)
- Database
Iot
Route Database Args Database Route parameters
- Name string
The name of the route
- Region string
The region you want to attach the resource to
- Rest
Iot
Route Rest Args Rest Route parameters
- S3
Iot
Route S3Args S3 Route parameters
- hub
Id String The ID of the route's hub
- topic String
The Topic the route subscribes to (wildcards allowed)
- database
Iot
Route Database Database Route parameters
- name String
The name of the route
- region String
The region you want to attach the resource to
- rest
Iot
Route Rest Rest Route parameters
- s3
Iot
Route S3 S3 Route parameters
- hub
Id string The ID of the route's hub
- topic string
The Topic the route subscribes to (wildcards allowed)
- database
Iot
Route Database Database Route parameters
- name string
The name of the route
- region string
The region you want to attach the resource to
- rest
Iot
Route Rest Rest Route parameters
- s3
Iot
Route S3 S3 Route parameters
- hub_
id str The ID of the route's hub
- topic str
The Topic the route subscribes to (wildcards allowed)
- database
Iot
Route Database Args Database Route parameters
- name str
The name of the route
- region str
The region you want to attach the resource to
- rest
Iot
Route Rest Args Rest Route parameters
- s3
Iot
Route S3Args S3 Route parameters
- hub
Id String The ID of the route's hub
- topic String
The Topic the route subscribes to (wildcards allowed)
- database Property Map
Database Route parameters
- name String
The name of the route
- region String
The region you want to attach the resource to
- rest Property Map
Rest Route parameters
- s3 Property Map
S3 Route parameters
Outputs
All input properties are implicitly available as output properties. Additionally, the IotRoute resource produces the following output properties:
- created_
at str The date and time of the creation of the IoT Route
- id str
The provider-assigned unique ID for this managed resource.
Look up Existing IotRoute Resource
Get an existing IotRoute 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?: IotRouteState, opts?: CustomResourceOptions): IotRoute
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
database: Optional[IotRouteDatabaseArgs] = None,
hub_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
rest: Optional[IotRouteRestArgs] = None,
s3: Optional[IotRouteS3Args] = None,
topic: Optional[str] = None) -> IotRoute
func GetIotRoute(ctx *Context, name string, id IDInput, state *IotRouteState, opts ...ResourceOption) (*IotRoute, error)
public static IotRoute Get(string name, Input<string> id, IotRouteState? state, CustomResourceOptions? opts = null)
public static IotRoute get(String name, Output<String> id, IotRouteState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
At string The date and time of the creation of the IoT Route
- Database
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route Database Database Route parameters
- Hub
Id string The ID of the route's hub
- Name string
The name of the route
- Region string
The region you want to attach the resource to
- Rest
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route Rest Rest Route parameters
- S3
Lbrlabs.
Pulumi Package. Scaleway. Inputs. Iot Route S3 S3 Route parameters
- Topic string
The Topic the route subscribes to (wildcards allowed)
- Created
At string The date and time of the creation of the IoT Route
- Database
Iot
Route Database Args Database Route parameters
- Hub
Id string The ID of the route's hub
- Name string
The name of the route
- Region string
The region you want to attach the resource to
- Rest
Iot
Route Rest Args Rest Route parameters
- S3
Iot
Route S3Args S3 Route parameters
- Topic string
The Topic the route subscribes to (wildcards allowed)
- created
At String The date and time of the creation of the IoT Route
- database
Iot
Route Database Database Route parameters
- hub
Id String The ID of the route's hub
- name String
The name of the route
- region String
The region you want to attach the resource to
- rest
Iot
Route Rest Rest Route parameters
- s3
Iot
Route S3 S3 Route parameters
- topic String
The Topic the route subscribes to (wildcards allowed)
- created
At string The date and time of the creation of the IoT Route
- database
Iot
Route Database Database Route parameters
- hub
Id string The ID of the route's hub
- name string
The name of the route
- region string
The region you want to attach the resource to
- rest
Iot
Route Rest Rest Route parameters
- s3
Iot
Route S3 S3 Route parameters
- topic string
The Topic the route subscribes to (wildcards allowed)
- created_
at str The date and time of the creation of the IoT Route
- database
Iot
Route Database Args Database Route parameters
- hub_
id str The ID of the route's hub
- name str
The name of the route
- region str
The region you want to attach the resource to
- rest
Iot
Route Rest Args Rest Route parameters
- s3
Iot
Route S3Args S3 Route parameters
- topic str
The Topic the route subscribes to (wildcards allowed)
- created
At String The date and time of the creation of the IoT Route
- database Property Map
Database Route parameters
- hub
Id String The ID of the route's hub
- name String
The name of the route
- region String
The region you want to attach the resource to
- rest Property Map
Rest Route parameters
- s3 Property Map
S3 Route parameters
- topic String
The Topic the route subscribes to (wildcards allowed)
Supporting Types
IotRouteDatabase, IotRouteDatabaseArgs
IotRouteRest, IotRouteRestArgs
IotRouteS3, IotRouteS3Args
- Bucket
Name string - Bucket
Region string - Strategy string
- Object
Prefix string
- Bucket
Name string - Bucket
Region string - Strategy string
- Object
Prefix string
- bucket
Name String - bucket
Region String - strategy String
- object
Prefix String
- bucket
Name string - bucket
Region string - strategy string
- object
Prefix string
- bucket_
name str - bucket_
region str - strategy str
- object_
prefix str
- bucket
Name String - bucket
Region String - strategy String
- object
Prefix String
Package Details
- Repository
- scaleway lbrlabs/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.