@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
131 lines (130 loc) • 3.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class IotRoute extends pulumi.CustomResource {
/**
* Get an existing IotRoute resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IotRouteState, opts?: pulumi.CustomResourceOptions): IotRoute;
/**
* Returns true if the given object is an instance of IotRoute. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is IotRoute;
/**
* The date and time of the creation of the IoT Route
*/
readonly createdAt: pulumi.Output<string>;
/**
* Database Route parameters
*/
readonly database: pulumi.Output<outputs.IotRouteDatabase | undefined>;
/**
* The ID of the route's hub
*/
readonly hubId: pulumi.Output<string>;
/**
* The name of the route
*/
readonly name: pulumi.Output<string>;
/**
* The region you want to attach the resource to
*/
readonly region: pulumi.Output<string>;
/**
* Rest Route parameters
*/
readonly rest: pulumi.Output<outputs.IotRouteRest | undefined>;
/**
* S3 Route parameters
*/
readonly s3: pulumi.Output<outputs.IotRouteS3 | undefined>;
/**
* The Topic the route subscribes to (wildcards allowed)
*/
readonly topic: pulumi.Output<string>;
/**
* Create a IotRoute resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: IotRouteArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering IotRoute resources.
*/
export interface IotRouteState {
/**
* The date and time of the creation of the IoT Route
*/
createdAt?: pulumi.Input<string>;
/**
* Database Route parameters
*/
database?: pulumi.Input<inputs.IotRouteDatabase>;
/**
* The ID of the route's hub
*/
hubId?: pulumi.Input<string>;
/**
* The name of the route
*/
name?: pulumi.Input<string>;
/**
* The region you want to attach the resource to
*/
region?: pulumi.Input<string>;
/**
* Rest Route parameters
*/
rest?: pulumi.Input<inputs.IotRouteRest>;
/**
* S3 Route parameters
*/
s3?: pulumi.Input<inputs.IotRouteS3>;
/**
* The Topic the route subscribes to (wildcards allowed)
*/
topic?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a IotRoute resource.
*/
export interface IotRouteArgs {
/**
* Database Route parameters
*/
database?: pulumi.Input<inputs.IotRouteDatabase>;
/**
* The ID of the route's hub
*/
hubId: pulumi.Input<string>;
/**
* The name of the route
*/
name?: pulumi.Input<string>;
/**
* The region you want to attach the resource to
*/
region?: pulumi.Input<string>;
/**
* Rest Route parameters
*/
rest?: pulumi.Input<inputs.IotRouteRest>;
/**
* S3 Route parameters
*/
s3?: pulumi.Input<inputs.IotRouteS3>;
/**
* The Topic the route subscribes to (wildcards allowed)
*/
topic: pulumi.Input<string>;
}