@pulumi/aws-native 0.13.1-alpha.1647965952 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docdb/dbinstance.d.ts +2 -0
- package/docdb/dbinstance.js +2 -0
- package/docdb/dbinstance.js.map +1 -1
- package/docdb/getDBInstance.d.ts +1 -0
- package/docdb/getDBInstance.js.map +1 -1
- package/fsx/getSnapshot.d.ts +19 -0
- package/fsx/getSnapshot.js +25 -0
- package/fsx/getSnapshot.js.map +1 -0
- package/fsx/getStorageVirtualMachine.d.ts +21 -0
- package/fsx/getStorageVirtualMachine.js +25 -0
- package/fsx/getStorageVirtualMachine.js.map +1 -0
- package/fsx/getVolume.d.ts +22 -0
- package/fsx/getVolume.js +25 -0
- package/fsx/getVolume.js.map +1 -0
- package/fsx/index.d.ts +6 -0
- package/fsx/index.js +15 -0
- package/fsx/index.js.map +1 -1
- package/fsx/snapshot.d.ts +44 -0
- package/fsx/snapshot.js +70 -0
- package/fsx/snapshot.js.map +1 -0
- package/fsx/storageVirtualMachine.d.ts +52 -0
- package/fsx/storageVirtualMachine.js +80 -0
- package/fsx/storageVirtualMachine.js.map +1 -0
- package/fsx/volume.d.ts +52 -0
- package/fsx/volume.js +77 -0
- package/fsx/volume.js.map +1 -0
- package/iotevents/alarmModel.d.ts +98 -0
- package/iotevents/alarmModel.js +80 -0
- package/iotevents/alarmModel.js.map +1 -0
- package/iotevents/getAlarmModel.d.ts +44 -0
- package/iotevents/getAlarmModel.js +27 -0
- package/iotevents/getAlarmModel.js.map +1 -0
- package/iotevents/index.d.ts +2 -0
- package/iotevents/index.js +5 -0
- package/iotevents/index.js.map +1 -1
- package/lambda/function.d.ts +8 -0
- package/lambda/function.js +2 -0
- package/lambda/function.js.map +1 -1
- package/lambda/getFunction.d.ts +4 -0
- package/lambda/getFunction.js.map +1 -1
- package/lambda/permission.d.ts +2 -0
- package/lambda/permission.js +2 -0
- package/lambda/permission.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/enums/iotevents/index.d.ts +12 -0
- package/types/enums/iotevents/index.js +9 -1
- package/types/enums/iotevents/index.js.map +1 -1
- package/types/input.d.ts +416 -0
- package/types/output.d.ts +416 -0
package/fsx/volume.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Volume = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource Type definition for AWS::FSx::Volume
|
|
10
|
+
*
|
|
11
|
+
* @deprecated Volume is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.
|
|
12
|
+
*/
|
|
13
|
+
class Volume extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Create a Volume resource with the given unique name, arguments, and options.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resource.
|
|
18
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
19
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
20
|
+
*/
|
|
21
|
+
/** @deprecated Volume is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible. */
|
|
22
|
+
constructor(name, args, opts) {
|
|
23
|
+
pulumi.log.warn("Volume is deprecated: Volume is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
24
|
+
let resourceInputs = {};
|
|
25
|
+
opts = opts || {};
|
|
26
|
+
if (!opts.id) {
|
|
27
|
+
resourceInputs["backupId"] = args ? args.backupId : undefined;
|
|
28
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
29
|
+
resourceInputs["ontapConfiguration"] = args ? args.ontapConfiguration : undefined;
|
|
30
|
+
resourceInputs["openZFSConfiguration"] = args ? args.openZFSConfiguration : undefined;
|
|
31
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
32
|
+
resourceInputs["volumeType"] = args ? args.volumeType : undefined;
|
|
33
|
+
resourceInputs["resourceARN"] = undefined /*out*/;
|
|
34
|
+
resourceInputs["uUID"] = undefined /*out*/;
|
|
35
|
+
resourceInputs["volumeId"] = undefined /*out*/;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
resourceInputs["backupId"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["ontapConfiguration"] = undefined /*out*/;
|
|
41
|
+
resourceInputs["openZFSConfiguration"] = undefined /*out*/;
|
|
42
|
+
resourceInputs["resourceARN"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["uUID"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["volumeId"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["volumeType"] = undefined /*out*/;
|
|
47
|
+
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
|
+
super(Volume.__pulumiType, name, resourceInputs, opts);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing Volume resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, opts) {
|
|
60
|
+
pulumi.log.warn("Volume is deprecated: Volume is not yet supported by AWS Native, so its creation will currently fail. Please use the classic AWS provider, if possible.");
|
|
61
|
+
return new Volume(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of Volume. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === Volume.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Volume = Volume;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Volume.__pulumiType = 'aws-native:fsx:Volume';
|
|
77
|
+
//# sourceMappingURL=volume.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../fsx/volume.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAsC7C;;;;;;OAMG;IACH,oJAAoJ;IACpJ,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,yJAAyJ,CAAC,CAAA;QAC1K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,s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CAAC;IAC3D,CAAC;IAxED;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,yJAAyJ,CAAC,CAAA;QAC1K,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBA0EC;AA5DG,gBAAgB;AACO,mBAAY,GAAG,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
|
|
5
|
+
*
|
|
6
|
+
* Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you're monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare class AlarmModel extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AlarmModel resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AlarmModel;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of AlarmModel. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is AlarmModel;
|
|
23
|
+
readonly alarmCapabilities: pulumi.Output<outputs.iotevents.AlarmModelAlarmCapabilities | undefined>;
|
|
24
|
+
readonly alarmEventActions: pulumi.Output<outputs.iotevents.AlarmModelAlarmEventActions | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* A brief description of the alarm model.
|
|
27
|
+
*/
|
|
28
|
+
readonly alarmModelDescription: pulumi.Output<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the alarm model.
|
|
31
|
+
*/
|
|
32
|
+
readonly alarmModelName: pulumi.Output<string | undefined>;
|
|
33
|
+
readonly alarmRule: pulumi.Output<outputs.iotevents.AlarmModelAlarmRule>;
|
|
34
|
+
/**
|
|
35
|
+
* The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
|
|
36
|
+
*
|
|
37
|
+
* This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
|
|
38
|
+
*/
|
|
39
|
+
readonly key: pulumi.Output<string | undefined>;
|
|
40
|
+
/**
|
|
41
|
+
* The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
|
42
|
+
*/
|
|
43
|
+
readonly roleArn: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* A non-negative integer that reflects the severity level of the alarm.
|
|
46
|
+
*/
|
|
47
|
+
readonly severity: pulumi.Output<number | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* An array of key-value pairs to apply to this resource.
|
|
50
|
+
*
|
|
51
|
+
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<outputs.iotevents.AlarmModelTag[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a AlarmModel resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: AlarmModelArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The set of arguments for constructing a AlarmModel resource.
|
|
65
|
+
*/
|
|
66
|
+
export interface AlarmModelArgs {
|
|
67
|
+
alarmCapabilities?: pulumi.Input<inputs.iotevents.AlarmModelAlarmCapabilitiesArgs>;
|
|
68
|
+
alarmEventActions?: pulumi.Input<inputs.iotevents.AlarmModelAlarmEventActionsArgs>;
|
|
69
|
+
/**
|
|
70
|
+
* A brief description of the alarm model.
|
|
71
|
+
*/
|
|
72
|
+
alarmModelDescription?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the alarm model.
|
|
75
|
+
*/
|
|
76
|
+
alarmModelName?: pulumi.Input<string>;
|
|
77
|
+
alarmRule: pulumi.Input<inputs.iotevents.AlarmModelAlarmRuleArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* The value used to identify a alarm instance. When a device or system sends input, a new alarm instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding alarm instance based on this identifying information.
|
|
80
|
+
*
|
|
81
|
+
* This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct alarm instance, the device must send a message payload that contains the same attribute-value.
|
|
82
|
+
*/
|
|
83
|
+
key?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
|
86
|
+
*/
|
|
87
|
+
roleArn: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* A non-negative integer that reflects the severity level of the alarm.
|
|
90
|
+
*/
|
|
91
|
+
severity?: pulumi.Input<number>;
|
|
92
|
+
/**
|
|
93
|
+
* An array of key-value pairs to apply to this resource.
|
|
94
|
+
*
|
|
95
|
+
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
96
|
+
*/
|
|
97
|
+
tags?: pulumi.Input<pulumi.Input<inputs.iotevents.AlarmModelTagArgs>[]>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AlarmModel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
|
|
10
|
+
*
|
|
11
|
+
* Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you're monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.
|
|
12
|
+
*/
|
|
13
|
+
class AlarmModel extends pulumi.CustomResource {
|
|
14
|
+
/**
|
|
15
|
+
* Create a AlarmModel resource with the given unique name, arguments, and options.
|
|
16
|
+
*
|
|
17
|
+
* @param name The _unique_ name of the resource.
|
|
18
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
19
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
20
|
+
*/
|
|
21
|
+
constructor(name, args, opts) {
|
|
22
|
+
let resourceInputs = {};
|
|
23
|
+
opts = opts || {};
|
|
24
|
+
if (!opts.id) {
|
|
25
|
+
if ((!args || args.alarmRule === undefined) && !opts.urn) {
|
|
26
|
+
throw new Error("Missing required property 'alarmRule'");
|
|
27
|
+
}
|
|
28
|
+
if ((!args || args.roleArn === undefined) && !opts.urn) {
|
|
29
|
+
throw new Error("Missing required property 'roleArn'");
|
|
30
|
+
}
|
|
31
|
+
resourceInputs["alarmCapabilities"] = args ? args.alarmCapabilities : undefined;
|
|
32
|
+
resourceInputs["alarmEventActions"] = args ? args.alarmEventActions : undefined;
|
|
33
|
+
resourceInputs["alarmModelDescription"] = args ? args.alarmModelDescription : undefined;
|
|
34
|
+
resourceInputs["alarmModelName"] = args ? args.alarmModelName : undefined;
|
|
35
|
+
resourceInputs["alarmRule"] = args ? args.alarmRule : undefined;
|
|
36
|
+
resourceInputs["key"] = args ? args.key : undefined;
|
|
37
|
+
resourceInputs["roleArn"] = args ? args.roleArn : undefined;
|
|
38
|
+
resourceInputs["severity"] = args ? args.severity : undefined;
|
|
39
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
resourceInputs["alarmCapabilities"] = undefined /*out*/;
|
|
43
|
+
resourceInputs["alarmEventActions"] = undefined /*out*/;
|
|
44
|
+
resourceInputs["alarmModelDescription"] = undefined /*out*/;
|
|
45
|
+
resourceInputs["alarmModelName"] = undefined /*out*/;
|
|
46
|
+
resourceInputs["alarmRule"] = undefined /*out*/;
|
|
47
|
+
resourceInputs["key"] = undefined /*out*/;
|
|
48
|
+
resourceInputs["roleArn"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["severity"] = undefined /*out*/;
|
|
50
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(AlarmModel.__pulumiType, name, resourceInputs, opts);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing AlarmModel resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name, id, opts) {
|
|
64
|
+
return new AlarmModel(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of AlarmModel. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj) {
|
|
71
|
+
if (obj === undefined || obj === null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
return obj['__pulumiType'] === AlarmModel.__pulumiType;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.AlarmModel = AlarmModel;
|
|
78
|
+
/** @internal */
|
|
79
|
+
AlarmModel.__pulumiType = 'aws-native:iotevents:AlarmModel';
|
|
80
|
+
//# sourceMappingURL=alarmModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alarmModel.js","sourceRoot":"","sources":["../../iotevents/alarmModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAA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E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AAzBL,gCAmGC;AAtFG,gBAAgB;AACO,uBAAY,GAAG,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
|
|
5
|
+
*
|
|
6
|
+
* Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you're monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getAlarmModel(args: GetAlarmModelArgs, opts?: pulumi.InvokeOptions): Promise<GetAlarmModelResult>;
|
|
9
|
+
export interface GetAlarmModelArgs {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the alarm model.
|
|
12
|
+
*/
|
|
13
|
+
alarmModelName: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GetAlarmModelResult {
|
|
16
|
+
readonly alarmCapabilities?: outputs.iotevents.AlarmModelAlarmCapabilities;
|
|
17
|
+
readonly alarmEventActions?: outputs.iotevents.AlarmModelAlarmEventActions;
|
|
18
|
+
/**
|
|
19
|
+
* A brief description of the alarm model.
|
|
20
|
+
*/
|
|
21
|
+
readonly alarmModelDescription?: string;
|
|
22
|
+
readonly alarmRule?: outputs.iotevents.AlarmModelAlarmRule;
|
|
23
|
+
/**
|
|
24
|
+
* The ARN of the role that grants permission to AWS IoT Events to perform its operations.
|
|
25
|
+
*/
|
|
26
|
+
readonly roleArn?: string;
|
|
27
|
+
/**
|
|
28
|
+
* A non-negative integer that reflects the severity level of the alarm.
|
|
29
|
+
*/
|
|
30
|
+
readonly severity?: number;
|
|
31
|
+
/**
|
|
32
|
+
* An array of key-value pairs to apply to this resource.
|
|
33
|
+
*
|
|
34
|
+
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
|
|
35
|
+
*/
|
|
36
|
+
readonly tags?: outputs.iotevents.AlarmModelTag[];
|
|
37
|
+
}
|
|
38
|
+
export declare function getAlarmModelOutput(args: GetAlarmModelOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlarmModelResult>;
|
|
39
|
+
export interface GetAlarmModelOutputArgs {
|
|
40
|
+
/**
|
|
41
|
+
* The name of the alarm model.
|
|
42
|
+
*/
|
|
43
|
+
alarmModelName: pulumi.Input<string>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getAlarmModelOutput = exports.getAlarmModel = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The AWS::IoTEvents::AlarmModel resource creates a alarm model. AWS IoT Events alarms help you monitor your data for changes. The data can be metrics that you measure for your equipment and processes. You can create alarms that send notifications when a threshold is breached. Alarms help you detect issues, streamline maintenance, and optimize performance of your equipment and processes.
|
|
10
|
+
*
|
|
11
|
+
* Alarms are instances of alarm models. The alarm model specifies what to detect, when to send notifications, who gets notified, and more. You can also specify one or more supported actions that occur when the alarm state changes. AWS IoT Events routes input attributes derived from your data to the appropriate alarms. If the data that you're monitoring is outside the specified range, the alarm is invoked. You can also acknowledge the alarms or set them to the snooze mode.
|
|
12
|
+
*/
|
|
13
|
+
function getAlarmModel(args, opts) {
|
|
14
|
+
if (!opts) {
|
|
15
|
+
opts = {};
|
|
16
|
+
}
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
18
|
+
return pulumi.runtime.invoke("aws-native:iotevents:getAlarmModel", {
|
|
19
|
+
"alarmModelName": args.alarmModelName,
|
|
20
|
+
}, opts);
|
|
21
|
+
}
|
|
22
|
+
exports.getAlarmModel = getAlarmModel;
|
|
23
|
+
function getAlarmModelOutput(args, opts) {
|
|
24
|
+
return pulumi.output(args).apply(a => getAlarmModel(a, opts));
|
|
25
|
+
}
|
|
26
|
+
exports.getAlarmModelOutput = getAlarmModelOutput;
|
|
27
|
+
//# sourceMappingURL=getAlarmModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAlarmModel.js","sourceRoot":"","sources":["../../iotevents/getAlarmModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAiCD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/iotevents/index.d.ts
CHANGED
package/iotevents/index.js
CHANGED
|
@@ -19,19 +19,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
const pulumi = require("@pulumi/pulumi");
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
// Export members:
|
|
22
|
+
__exportStar(require("./alarmModel"), exports);
|
|
22
23
|
__exportStar(require("./detectorModel"), exports);
|
|
24
|
+
__exportStar(require("./getAlarmModel"), exports);
|
|
23
25
|
__exportStar(require("./getDetectorModel"), exports);
|
|
24
26
|
__exportStar(require("./getInput"), exports);
|
|
25
27
|
__exportStar(require("./input"), exports);
|
|
26
28
|
// Export enums:
|
|
27
29
|
__exportStar(require("../types/enums/iotevents"), exports);
|
|
28
30
|
// Import resources to register:
|
|
31
|
+
const alarmModel_1 = require("./alarmModel");
|
|
29
32
|
const detectorModel_1 = require("./detectorModel");
|
|
30
33
|
const input_1 = require("./input");
|
|
31
34
|
const _module = {
|
|
32
35
|
version: utilities.getVersion(),
|
|
33
36
|
construct: (name, type, urn) => {
|
|
34
37
|
switch (type) {
|
|
38
|
+
case "aws-native:iotevents:AlarmModel":
|
|
39
|
+
return new alarmModel_1.AlarmModel(name, undefined, { urn });
|
|
35
40
|
case "aws-native:iotevents:DetectorModel":
|
|
36
41
|
return new detectorModel_1.DetectorModel(name, undefined, { urn });
|
|
37
42
|
case "aws-native:iotevents:Input":
|
package/iotevents/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../iotevents/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;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,KAAK,iCAAiC;gBAClC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,6BAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,aAAK,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA"}
|
package/lambda/function.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export declare class Function extends pulumi.CustomResource {
|
|
|
43
43
|
* Environment variables that are accessible from function code during execution.
|
|
44
44
|
*/
|
|
45
45
|
readonly environment: pulumi.Output<outputs.lambda.FunctionEnvironment | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* A function's ephemeral storage settings.
|
|
48
|
+
*/
|
|
49
|
+
readonly ephemeralStorage: pulumi.Output<outputs.lambda.FunctionEphemeralStorage | undefined>;
|
|
46
50
|
/**
|
|
47
51
|
* Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a DependsOn attribute to ensure that the mount target is created or updated before the function.
|
|
48
52
|
*/
|
|
@@ -137,6 +141,10 @@ export interface FunctionArgs {
|
|
|
137
141
|
* Environment variables that are accessible from function code during execution.
|
|
138
142
|
*/
|
|
139
143
|
environment?: pulumi.Input<inputs.lambda.FunctionEnvironmentArgs>;
|
|
144
|
+
/**
|
|
145
|
+
* A function's ephemeral storage settings.
|
|
146
|
+
*/
|
|
147
|
+
ephemeralStorage?: pulumi.Input<inputs.lambda.FunctionEphemeralStorageArgs>;
|
|
140
148
|
/**
|
|
141
149
|
* Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a DependsOn attribute to ensure that the mount target is created or updated before the function.
|
|
142
150
|
*/
|
package/lambda/function.js
CHANGED
|
@@ -32,6 +32,7 @@ class Function extends pulumi.CustomResource {
|
|
|
32
32
|
resourceInputs["deadLetterConfig"] = args ? args.deadLetterConfig : undefined;
|
|
33
33
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
34
34
|
resourceInputs["environment"] = args ? args.environment : undefined;
|
|
35
|
+
resourceInputs["ephemeralStorage"] = args ? args.ephemeralStorage : undefined;
|
|
35
36
|
resourceInputs["fileSystemConfigs"] = args ? args.fileSystemConfigs : undefined;
|
|
36
37
|
resourceInputs["functionName"] = args ? args.functionName : undefined;
|
|
37
38
|
resourceInputs["handler"] = args ? args.handler : undefined;
|
|
@@ -57,6 +58,7 @@ class Function extends pulumi.CustomResource {
|
|
|
57
58
|
resourceInputs["deadLetterConfig"] = undefined /*out*/;
|
|
58
59
|
resourceInputs["description"] = undefined /*out*/;
|
|
59
60
|
resourceInputs["environment"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["ephemeralStorage"] = undefined /*out*/;
|
|
60
62
|
resourceInputs["fileSystemConfigs"] = undefined /*out*/;
|
|
61
63
|
resourceInputs["functionName"] = undefined /*out*/;
|
|
62
64
|
resourceInputs["handler"] = undefined /*out*/;
|
package/lambda/function.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../lambda/function.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../lambda/function.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E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAzBL,4BAyLC;AA5KG,gBAAgB;AACO,qBAAY,GAAG,4BAA4B,CAAC"}
|
package/lambda/getFunction.d.ts
CHANGED
|
@@ -32,6 +32,10 @@ export interface GetFunctionResult {
|
|
|
32
32
|
* Environment variables that are accessible from function code during execution.
|
|
33
33
|
*/
|
|
34
34
|
readonly environment?: outputs.lambda.FunctionEnvironment;
|
|
35
|
+
/**
|
|
36
|
+
* A function's ephemeral storage settings.
|
|
37
|
+
*/
|
|
38
|
+
readonly ephemeralStorage?: outputs.lambda.FunctionEphemeralStorage;
|
|
35
39
|
/**
|
|
36
40
|
* Connection settings for an Amazon EFS file system. To connect a function to a file system, a mount target must be available in every Availability Zone that your function connects to. If your template contains an AWS::EFS::MountTarget resource, you must also specify a DependsOn attribute to ensure that the mount target is created or updated before the function.
|
|
37
41
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../lambda/getFunction.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;
|
|
1
|
+
{"version":3,"file":"getFunction.js","sourceRoot":"","sources":["../../lambda/getFunction.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+BAA+B,EAAE;QAC1D,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA6FD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
package/lambda/permission.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export declare class Permission extends pulumi.CustomResource {
|
|
|
23
23
|
readonly eventSourceToken: pulumi.Output<string | undefined>;
|
|
24
24
|
readonly functionName: pulumi.Output<string>;
|
|
25
25
|
readonly principal: pulumi.Output<string>;
|
|
26
|
+
readonly principalOrgID: pulumi.Output<string | undefined>;
|
|
26
27
|
readonly sourceAccount: pulumi.Output<string | undefined>;
|
|
27
28
|
readonly sourceArn: pulumi.Output<string | undefined>;
|
|
28
29
|
/**
|
|
@@ -43,6 +44,7 @@ export interface PermissionArgs {
|
|
|
43
44
|
eventSourceToken?: pulumi.Input<string>;
|
|
44
45
|
functionName: pulumi.Input<string>;
|
|
45
46
|
principal: pulumi.Input<string>;
|
|
47
|
+
principalOrgID?: pulumi.Input<string>;
|
|
46
48
|
sourceAccount?: pulumi.Input<string>;
|
|
47
49
|
sourceArn?: pulumi.Input<string>;
|
|
48
50
|
}
|
package/lambda/permission.js
CHANGED
|
@@ -37,6 +37,7 @@ class Permission extends pulumi.CustomResource {
|
|
|
37
37
|
resourceInputs["eventSourceToken"] = args ? args.eventSourceToken : undefined;
|
|
38
38
|
resourceInputs["functionName"] = args ? args.functionName : undefined;
|
|
39
39
|
resourceInputs["principal"] = args ? args.principal : undefined;
|
|
40
|
+
resourceInputs["principalOrgID"] = args ? args.principalOrgID : undefined;
|
|
40
41
|
resourceInputs["sourceAccount"] = args ? args.sourceAccount : undefined;
|
|
41
42
|
resourceInputs["sourceArn"] = args ? args.sourceArn : undefined;
|
|
42
43
|
}
|
|
@@ -45,6 +46,7 @@ class Permission extends pulumi.CustomResource {
|
|
|
45
46
|
resourceInputs["eventSourceToken"] = undefined /*out*/;
|
|
46
47
|
resourceInputs["functionName"] = undefined /*out*/;
|
|
47
48
|
resourceInputs["principal"] = undefined /*out*/;
|
|
49
|
+
resourceInputs["principalOrgID"] = undefined /*out*/;
|
|
48
50
|
resourceInputs["sourceAccount"] = undefined /*out*/;
|
|
49
51
|
resourceInputs["sourceArn"] = undefined /*out*/;
|
|
50
52
|
}
|
package/lambda/permission.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../lambda/permission.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../lambda/permission.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;GAIG;AACH,MAAa,UAA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IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCA6EC;AA/DG,gBAAgB;AACO,uBAAY,GAAG,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.14.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.14.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.14.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.14.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
export declare const AlarmModelSimpleRuleComparisonOperator: {
|
|
2
|
+
readonly Greater: "GREATER";
|
|
3
|
+
readonly GreaterOrEqual: "GREATER_OR_EQUAL";
|
|
4
|
+
readonly Less: "LESS";
|
|
5
|
+
readonly LessOrEqual: "LESS_OR_EQUAL";
|
|
6
|
+
readonly Equal: "EQUAL";
|
|
7
|
+
readonly NotEqual: "NOT_EQUAL";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The comparison operator.
|
|
11
|
+
*/
|
|
12
|
+
export declare type AlarmModelSimpleRuleComparisonOperator = (typeof AlarmModelSimpleRuleComparisonOperator)[keyof typeof AlarmModelSimpleRuleComparisonOperator];
|
|
1
13
|
export declare const DetectorModelEvaluationMethod: {
|
|
2
14
|
readonly Batch: "BATCH";
|
|
3
15
|
readonly Serial: "SERIAL";
|
|
@@ -2,7 +2,15 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DetectorModelEvaluationMethod = void 0;
|
|
5
|
+
exports.DetectorModelEvaluationMethod = exports.AlarmModelSimpleRuleComparisonOperator = void 0;
|
|
6
|
+
exports.AlarmModelSimpleRuleComparisonOperator = {
|
|
7
|
+
Greater: "GREATER",
|
|
8
|
+
GreaterOrEqual: "GREATER_OR_EQUAL",
|
|
9
|
+
Less: "LESS",
|
|
10
|
+
LessOrEqual: "LESS_OR_EQUAL",
|
|
11
|
+
Equal: "EQUAL",
|
|
12
|
+
NotEqual: "NOT_EQUAL",
|
|
13
|
+
};
|
|
6
14
|
exports.DetectorModelEvaluationMethod = {
|
|
7
15
|
Batch: "BATCH",
|
|
8
16
|
Serial: "SERIAL",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/iotevents/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAGpE,QAAA,6BAA6B,GAAG;IACzC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/iotevents/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAGpE,QAAA,sCAAsC,GAAG;IAClD,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,kBAAkB;IAClC,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,WAAW;CACf,CAAC;AAOE,QAAA,6BAA6B,GAAG;IACzC,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACV,CAAC"}
|