@pulumi/aws 5.8.0-alpha.1654729312 → 5.8.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/appconfig/hostedConfigurationVersion.d.ts +17 -1
- package/appconfig/hostedConfigurationVersion.js +17 -1
- package/appconfig/hostedConfigurationVersion.js.map +1 -1
- package/cloudwatch/eventTarget.d.ts +53 -11
- package/cloudwatch/eventTarget.js +53 -11
- package/cloudwatch/eventTarget.js.map +1 -1
- package/cloudwatch/getLogGroups.d.ts +5 -5
- package/cloudwatch/getLogGroups.js +1 -0
- package/cloudwatch/getLogGroups.js.map +1 -1
- package/cognito/getUserPoolClient.d.ts +1 -0
- package/cognito/getUserPoolClient.js.map +1 -1
- package/cognito/userPoolClient.d.ts +12 -0
- package/cognito/userPoolClient.js +2 -0
- package/cognito/userPoolClient.js.map +1 -1
- package/costexplorer/anomalyMonitor.d.ts +152 -0
- package/costexplorer/anomalyMonitor.js +115 -0
- package/costexplorer/anomalyMonitor.js.map +1 -0
- package/costexplorer/index.d.ts +1 -0
- package/costexplorer/index.js +5 -0
- package/costexplorer/index.js.map +1 -1
- package/ebs/volume.d.ts +12 -0
- package/ebs/volume.js +2 -0
- package/ebs/volume.js.map +1 -1
- package/ec2/snapshotCreateVolumePermission.d.ts +3 -3
- package/emr/instanceGroup.d.ts +1 -1
- package/emr/instanceGroup.js +1 -1
- package/emrserverless/application.d.ts +237 -0
- package/emrserverless/application.js +135 -0
- package/emrserverless/application.js.map +1 -0
- package/emrserverless/index.d.ts +1 -0
- package/emrserverless/index.js +37 -0
- package/emrserverless/index.js.map +1 -0
- package/imagebuilder/distributionConfiguration.d.ts +3 -3
- package/imagebuilder/distributionConfiguration.js +3 -3
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/lakeformation/permissions.d.ts +19 -0
- package/lakeformation/permissions.js +19 -0
- package/lakeformation/permissions.js.map +1 -1
- package/lex/bot.d.ts +3 -3
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/ram/getResourceShare.d.ts +11 -2
- package/ram/getResourceShare.js +1 -0
- package/ram/getResourceShare.js.map +1 -1
- package/sns/platformApplication.d.ts +21 -21
- package/ssm/parameter.d.ts +16 -4
- package/ssm/parameter.js.map +1 -1
- package/types/input.d.ts +78 -1
- package/types/output.d.ts +78 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.AnomalyMonitor = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a CE Anomaly Monitor.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* There are two main types of a Cost Anomaly Monitor: `DIMENSIONAL` and `CUSTOM`.
|
|
14
|
+
* ### Dimensional Example
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const serviceMonitor = new aws.costexplorer.AnomalyMonitor("service_monitor", {
|
|
21
|
+
* dimension: "SERVICE",
|
|
22
|
+
* type: "DIMENSIONAL",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
* ### Custom Example
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as aws from "@pulumi/aws";
|
|
30
|
+
*
|
|
31
|
+
* const test = new aws.costexplorer.AnomalyMonitor("test", {
|
|
32
|
+
* specification: `{
|
|
33
|
+
* "And": null,
|
|
34
|
+
* "CostCategories": null,
|
|
35
|
+
* "Dimensions": null,
|
|
36
|
+
* "Not": null,
|
|
37
|
+
* "Or": null,
|
|
38
|
+
* "Tags": {
|
|
39
|
+
* "Key": "CostCenter",
|
|
40
|
+
* "MatchOptions": null,
|
|
41
|
+
* "Values": [
|
|
42
|
+
* "10000"
|
|
43
|
+
* ]
|
|
44
|
+
* }
|
|
45
|
+
* }
|
|
46
|
+
* `,
|
|
47
|
+
* type: "CUSTOM",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* `aws_ce_anomaly_monitor` can be imported using the `id`, e.g.
|
|
54
|
+
*
|
|
55
|
+
* ```sh
|
|
56
|
+
* $ pulumi import aws:costexplorer/anomalyMonitor:AnomalyMonitor example costAnomalyMonitorARN
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
class AnomalyMonitor extends pulumi.CustomResource {
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
66
|
+
resourceInputs["monitorDimension"] = state ? state.monitorDimension : undefined;
|
|
67
|
+
resourceInputs["monitorSpecification"] = state ? state.monitorSpecification : undefined;
|
|
68
|
+
resourceInputs["monitorType"] = state ? state.monitorType : undefined;
|
|
69
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
70
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
71
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
const args = argsOrState;
|
|
75
|
+
if ((!args || args.monitorType === undefined) && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'monitorType'");
|
|
77
|
+
}
|
|
78
|
+
resourceInputs["monitorDimension"] = args ? args.monitorDimension : undefined;
|
|
79
|
+
resourceInputs["monitorSpecification"] = args ? args.monitorSpecification : undefined;
|
|
80
|
+
resourceInputs["monitorType"] = args ? args.monitorType : undefined;
|
|
81
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
82
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
83
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
84
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
87
|
+
super(AnomalyMonitor.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Get an existing AnomalyMonitor resource's state with the given name, ID, and optional extra
|
|
91
|
+
* properties used to qualify the lookup.
|
|
92
|
+
*
|
|
93
|
+
* @param name The _unique_ name of the resulting resource.
|
|
94
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
95
|
+
* @param state Any extra arguments used during the lookup.
|
|
96
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
97
|
+
*/
|
|
98
|
+
static get(name, id, state, opts) {
|
|
99
|
+
return new AnomalyMonitor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Returns true if the given object is an instance of AnomalyMonitor. This is designed to work even
|
|
103
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
104
|
+
*/
|
|
105
|
+
static isInstance(obj) {
|
|
106
|
+
if (obj === undefined || obj === null) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return obj['__pulumiType'] === AnomalyMonitor.__pulumiType;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.AnomalyMonitor = AnomalyMonitor;
|
|
113
|
+
/** @internal */
|
|
114
|
+
AnomalyMonitor.__pulumiType = 'aws:costexplorer/anomalyMonitor:AnomalyMonitor';
|
|
115
|
+
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,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAoFC;AAtEG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
package/costexplorer/index.d.ts
CHANGED
package/costexplorer/index.js
CHANGED
|
@@ -19,15 +19,19 @@ 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("./anomalyMonitor"), exports);
|
|
22
23
|
__exportStar(require("./costCategory"), exports);
|
|
23
24
|
__exportStar(require("./getCostCategory"), exports);
|
|
24
25
|
__exportStar(require("./getTags"), exports);
|
|
25
26
|
// Import resources to register:
|
|
27
|
+
const anomalyMonitor_1 = require("./anomalyMonitor");
|
|
26
28
|
const costCategory_1 = require("./costCategory");
|
|
27
29
|
const _module = {
|
|
28
30
|
version: utilities.getVersion(),
|
|
29
31
|
construct: (name, type, urn) => {
|
|
30
32
|
switch (type) {
|
|
33
|
+
case "aws:costexplorer/anomalyMonitor:AnomalyMonitor":
|
|
34
|
+
return new anomalyMonitor_1.AnomalyMonitor(name, undefined, { urn });
|
|
31
35
|
case "aws:costexplorer/costCategory:CostCategory":
|
|
32
36
|
return new costCategory_1.CostCategory(name, undefined, { urn });
|
|
33
37
|
default:
|
|
@@ -35,5 +39,6 @@ const _module = {
|
|
|
35
39
|
}
|
|
36
40
|
},
|
|
37
41
|
};
|
|
42
|
+
pulumi.runtime.registerResourceModule("aws", "costexplorer/anomalyMonitor", _module);
|
|
38
43
|
pulumi.runtime.registerResourceModule("aws", "costexplorer/costCategory", _module);
|
|
39
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../costexplorer/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,iDAA+B;AAC/B,oDAAkC;AAClC,4CAA0B;AAE1B,gCAAgC;AAChC,iDAA8C;AAE9C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../costexplorer/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,mDAAiC;AACjC,iDAA+B;AAC/B,oDAAkC;AAClC,4CAA0B;AAE1B,gCAAgC;AAChC,qDAAkD;AAClD,iDAA8C;AAE9C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,gDAAgD;gBACjD,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,4CAA4C;gBAC7C,OAAO,IAAI,2BAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA"}
|
package/ebs/volume.d.ts
CHANGED
|
@@ -55,6 +55,10 @@ export declare class Volume extends pulumi.CustomResource {
|
|
|
55
55
|
* If true, the disk will be encrypted.
|
|
56
56
|
*/
|
|
57
57
|
readonly encrypted: pulumi.Output<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
|
|
60
|
+
*/
|
|
61
|
+
readonly finalSnapshot: pulumi.Output<boolean | undefined>;
|
|
58
62
|
/**
|
|
59
63
|
* The amount of IOPS to provision for the disk. Only valid for `type` of `io1`, `io2` or `gp3`.
|
|
60
64
|
*/
|
|
@@ -121,6 +125,10 @@ export interface VolumeState {
|
|
|
121
125
|
* If true, the disk will be encrypted.
|
|
122
126
|
*/
|
|
123
127
|
encrypted?: pulumi.Input<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
|
|
130
|
+
*/
|
|
131
|
+
finalSnapshot?: pulumi.Input<boolean>;
|
|
124
132
|
/**
|
|
125
133
|
* The amount of IOPS to provision for the disk. Only valid for `type` of `io1`, `io2` or `gp3`.
|
|
126
134
|
*/
|
|
@@ -175,6 +183,10 @@ export interface VolumeArgs {
|
|
|
175
183
|
* If true, the disk will be encrypted.
|
|
176
184
|
*/
|
|
177
185
|
encrypted?: pulumi.Input<boolean>;
|
|
186
|
+
/**
|
|
187
|
+
* If true, snapshot will be created before volume deletion. Any tags on the volume will be migrated to the snapshot. By default set to false
|
|
188
|
+
*/
|
|
189
|
+
finalSnapshot?: pulumi.Input<boolean>;
|
|
178
190
|
/**
|
|
179
191
|
* The amount of IOPS to provision for the disk. Only valid for `type` of `io1`, `io2` or `gp3`.
|
|
180
192
|
*/
|
package/ebs/volume.js
CHANGED
|
@@ -42,6 +42,7 @@ class Volume extends pulumi.CustomResource {
|
|
|
42
42
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
43
43
|
resourceInputs["availabilityZone"] = state ? state.availabilityZone : undefined;
|
|
44
44
|
resourceInputs["encrypted"] = state ? state.encrypted : undefined;
|
|
45
|
+
resourceInputs["finalSnapshot"] = state ? state.finalSnapshot : undefined;
|
|
45
46
|
resourceInputs["iops"] = state ? state.iops : undefined;
|
|
46
47
|
resourceInputs["kmsKeyId"] = state ? state.kmsKeyId : undefined;
|
|
47
48
|
resourceInputs["multiAttachEnabled"] = state ? state.multiAttachEnabled : undefined;
|
|
@@ -60,6 +61,7 @@ class Volume extends pulumi.CustomResource {
|
|
|
60
61
|
}
|
|
61
62
|
resourceInputs["availabilityZone"] = args ? args.availabilityZone : undefined;
|
|
62
63
|
resourceInputs["encrypted"] = args ? args.encrypted : undefined;
|
|
64
|
+
resourceInputs["finalSnapshot"] = args ? args.finalSnapshot : undefined;
|
|
63
65
|
resourceInputs["iops"] = args ? args.iops : undefined;
|
|
64
66
|
resourceInputs["kmsKeyId"] = args ? args.kmsKeyId : undefined;
|
|
65
67
|
resourceInputs["multiAttachEnabled"] = args ? args.multiAttachEnabled : undefined;
|
package/ebs/volume.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../ebs/volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"volume.js","sourceRoot":"","sources":["../../ebs/volume.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IA0F7C,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAA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I,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IAlID;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,wBAoIC;AAtHG,gBAAgB;AACO,mBAAY,GAAG,uBAAuB,CAAC"}
|
|
@@ -36,7 +36,7 @@ export declare class SnapshotCreateVolumePermission extends pulumi.CustomResourc
|
|
|
36
36
|
*/
|
|
37
37
|
static isInstance(obj: any): obj is SnapshotCreateVolumePermission;
|
|
38
38
|
/**
|
|
39
|
-
* An AWS Account ID to add create volume permissions
|
|
39
|
+
* An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapshot's owner
|
|
40
40
|
*/
|
|
41
41
|
readonly accountId: pulumi.Output<string>;
|
|
42
42
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class SnapshotCreateVolumePermission extends pulumi.CustomResourc
|
|
|
57
57
|
*/
|
|
58
58
|
export interface SnapshotCreateVolumePermissionState {
|
|
59
59
|
/**
|
|
60
|
-
* An AWS Account ID to add create volume permissions
|
|
60
|
+
* An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapshot's owner
|
|
61
61
|
*/
|
|
62
62
|
accountId?: pulumi.Input<string>;
|
|
63
63
|
/**
|
|
@@ -70,7 +70,7 @@ export interface SnapshotCreateVolumePermissionState {
|
|
|
70
70
|
*/
|
|
71
71
|
export interface SnapshotCreateVolumePermissionArgs {
|
|
72
72
|
/**
|
|
73
|
-
* An AWS Account ID to add create volume permissions
|
|
73
|
+
* An AWS Account ID to add create volume permissions. The AWS Account cannot be the snapshot's owner
|
|
74
74
|
*/
|
|
75
75
|
accountId: pulumi.Input<string>;
|
|
76
76
|
/**
|
package/emr/instanceGroup.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
26
26
|
* EMR task instance group can be imported using their EMR Cluster id and Instance Group id separated by a forward-slash `/`, e.g.,
|
|
27
27
|
*
|
|
28
28
|
* ```sh
|
|
29
|
-
* $ pulumi import aws:emr/instanceGroup:InstanceGroup
|
|
29
|
+
* $ pulumi import aws:emr/instanceGroup:InstanceGroup task_group j-123456ABCDEF/ig-15EK4O09RZLNR
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
export declare class InstanceGroup extends pulumi.CustomResource {
|
package/emr/instanceGroup.js
CHANGED
|
@@ -31,7 +31,7 @@ const utilities = require("../utilities");
|
|
|
31
31
|
* EMR task instance group can be imported using their EMR Cluster id and Instance Group id separated by a forward-slash `/`, e.g.,
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
|
-
* $ pulumi import aws:emr/instanceGroup:InstanceGroup
|
|
34
|
+
* $ pulumi import aws:emr/instanceGroup:InstanceGroup task_group j-123456ABCDEF/ig-15EK4O09RZLNR
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
class InstanceGroup extends pulumi.CustomResource {
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Manages an EMR Serverless Application.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### Basic Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
14
|
+
* releaseLabel: "emr-6.6.0",
|
|
15
|
+
* type: "hive",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
* ### Initial Capacity Usage
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
25
|
+
* initialCapacities: [{
|
|
26
|
+
* initialCapacityConfig: {
|
|
27
|
+
* workerConfiguration: {
|
|
28
|
+
* cpu: "2 vCPU",
|
|
29
|
+
* memory: "10 GB",
|
|
30
|
+
* },
|
|
31
|
+
* workerCount: 1,
|
|
32
|
+
* },
|
|
33
|
+
* initialCapacityType: "HiveDriver",
|
|
34
|
+
* }],
|
|
35
|
+
* releaseLabel: "emr-6.6.0",
|
|
36
|
+
* type: "hive",
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
* ### Maximum Capacity Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as aws from "@pulumi/aws";
|
|
44
|
+
*
|
|
45
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
46
|
+
* maximumCapacity: {
|
|
47
|
+
* cpu: "2 vCPU",
|
|
48
|
+
* memory: "10 GB",
|
|
49
|
+
* },
|
|
50
|
+
* releaseLabel: "emr-6.6.0",
|
|
51
|
+
* type: "hive",
|
|
52
|
+
* });
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* ## Import
|
|
56
|
+
*
|
|
57
|
+
* EMR Severless applications can be imported using the `id`, e.g.
|
|
58
|
+
*
|
|
59
|
+
* ```sh
|
|
60
|
+
* $ pulumi import aws:emrserverless/application:Application example id
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare class Application extends pulumi.CustomResource {
|
|
64
|
+
/**
|
|
65
|
+
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
66
|
+
* properties used to qualify the lookup.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resulting resource.
|
|
69
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
+
* @param state Any extra arguments used during the lookup.
|
|
71
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
+
*/
|
|
73
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application;
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of Application. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj: any): obj is Application;
|
|
79
|
+
/**
|
|
80
|
+
* ARN of the cluster.
|
|
81
|
+
*/
|
|
82
|
+
readonly arn: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The configuration for an application to automatically start on job submission.
|
|
85
|
+
*/
|
|
86
|
+
readonly autoStartConfiguration: pulumi.Output<outputs.emrserverless.ApplicationAutoStartConfiguration>;
|
|
87
|
+
/**
|
|
88
|
+
* The configuration for an application to automatically stop after a certain amount of time being idle.
|
|
89
|
+
*/
|
|
90
|
+
readonly autoStopConfiguration: pulumi.Output<outputs.emrserverless.ApplicationAutoStopConfiguration>;
|
|
91
|
+
/**
|
|
92
|
+
* The capacity to initialize when the application is created.
|
|
93
|
+
*/
|
|
94
|
+
readonly initialCapacities: pulumi.Output<outputs.emrserverless.ApplicationInitialCapacity[] | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
|
|
97
|
+
*/
|
|
98
|
+
readonly maximumCapacity: pulumi.Output<outputs.emrserverless.ApplicationMaximumCapacity | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the application.
|
|
101
|
+
*/
|
|
102
|
+
readonly name: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* The network configuration for customer VPC connectivity.
|
|
105
|
+
*/
|
|
106
|
+
readonly networkConfiguration: pulumi.Output<outputs.emrserverless.ApplicationNetworkConfiguration | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The EMR release version associated with the application.
|
|
109
|
+
*/
|
|
110
|
+
readonly releaseLabel: pulumi.Output<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Key-value mapping of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
113
|
+
*/
|
|
114
|
+
readonly tags: pulumi.Output<{
|
|
115
|
+
[key: string]: string;
|
|
116
|
+
} | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
119
|
+
*/
|
|
120
|
+
readonly tagsAll: pulumi.Output<{
|
|
121
|
+
[key: string]: string;
|
|
122
|
+
}>;
|
|
123
|
+
/**
|
|
124
|
+
* The type of application you want to start, such as `spark` or `hive`.
|
|
125
|
+
*/
|
|
126
|
+
readonly type: pulumi.Output<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Create a Application resource with the given unique name, arguments, and options.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resource.
|
|
131
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
+
*/
|
|
134
|
+
constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Input properties used for looking up and filtering Application resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface ApplicationState {
|
|
140
|
+
/**
|
|
141
|
+
* ARN of the cluster.
|
|
142
|
+
*/
|
|
143
|
+
arn?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The configuration for an application to automatically start on job submission.
|
|
146
|
+
*/
|
|
147
|
+
autoStartConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationAutoStartConfiguration>;
|
|
148
|
+
/**
|
|
149
|
+
* The configuration for an application to automatically stop after a certain amount of time being idle.
|
|
150
|
+
*/
|
|
151
|
+
autoStopConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationAutoStopConfiguration>;
|
|
152
|
+
/**
|
|
153
|
+
* The capacity to initialize when the application is created.
|
|
154
|
+
*/
|
|
155
|
+
initialCapacities?: pulumi.Input<pulumi.Input<inputs.emrserverless.ApplicationInitialCapacity>[]>;
|
|
156
|
+
/**
|
|
157
|
+
* The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
|
|
158
|
+
*/
|
|
159
|
+
maximumCapacity?: pulumi.Input<inputs.emrserverless.ApplicationMaximumCapacity>;
|
|
160
|
+
/**
|
|
161
|
+
* The name of the application.
|
|
162
|
+
*/
|
|
163
|
+
name?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The network configuration for customer VPC connectivity.
|
|
166
|
+
*/
|
|
167
|
+
networkConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationNetworkConfiguration>;
|
|
168
|
+
/**
|
|
169
|
+
* The EMR release version associated with the application.
|
|
170
|
+
*/
|
|
171
|
+
releaseLabel?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Key-value mapping of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
174
|
+
*/
|
|
175
|
+
tags?: pulumi.Input<{
|
|
176
|
+
[key: string]: pulumi.Input<string>;
|
|
177
|
+
}>;
|
|
178
|
+
/**
|
|
179
|
+
* Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
180
|
+
*/
|
|
181
|
+
tagsAll?: pulumi.Input<{
|
|
182
|
+
[key: string]: pulumi.Input<string>;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* The type of application you want to start, such as `spark` or `hive`.
|
|
186
|
+
*/
|
|
187
|
+
type?: pulumi.Input<string>;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* The set of arguments for constructing a Application resource.
|
|
191
|
+
*/
|
|
192
|
+
export interface ApplicationArgs {
|
|
193
|
+
/**
|
|
194
|
+
* The configuration for an application to automatically start on job submission.
|
|
195
|
+
*/
|
|
196
|
+
autoStartConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationAutoStartConfiguration>;
|
|
197
|
+
/**
|
|
198
|
+
* The configuration for an application to automatically stop after a certain amount of time being idle.
|
|
199
|
+
*/
|
|
200
|
+
autoStopConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationAutoStopConfiguration>;
|
|
201
|
+
/**
|
|
202
|
+
* The capacity to initialize when the application is created.
|
|
203
|
+
*/
|
|
204
|
+
initialCapacities?: pulumi.Input<pulumi.Input<inputs.emrserverless.ApplicationInitialCapacity>[]>;
|
|
205
|
+
/**
|
|
206
|
+
* The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
|
|
207
|
+
*/
|
|
208
|
+
maximumCapacity?: pulumi.Input<inputs.emrserverless.ApplicationMaximumCapacity>;
|
|
209
|
+
/**
|
|
210
|
+
* The name of the application.
|
|
211
|
+
*/
|
|
212
|
+
name?: pulumi.Input<string>;
|
|
213
|
+
/**
|
|
214
|
+
* The network configuration for customer VPC connectivity.
|
|
215
|
+
*/
|
|
216
|
+
networkConfiguration?: pulumi.Input<inputs.emrserverless.ApplicationNetworkConfiguration>;
|
|
217
|
+
/**
|
|
218
|
+
* The EMR release version associated with the application.
|
|
219
|
+
*/
|
|
220
|
+
releaseLabel: pulumi.Input<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Key-value mapping of resource tags. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
223
|
+
*/
|
|
224
|
+
tags?: pulumi.Input<{
|
|
225
|
+
[key: string]: pulumi.Input<string>;
|
|
226
|
+
}>;
|
|
227
|
+
/**
|
|
228
|
+
* Map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
229
|
+
*/
|
|
230
|
+
tagsAll?: pulumi.Input<{
|
|
231
|
+
[key: string]: pulumi.Input<string>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* The type of application you want to start, such as `spark` or `hive`.
|
|
235
|
+
*/
|
|
236
|
+
type: pulumi.Input<string>;
|
|
237
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Application = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an EMR Serverless Application.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
19
|
+
* releaseLabel: "emr-6.6.0",
|
|
20
|
+
* type: "hive",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
* ### Initial Capacity Usage
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as aws from "@pulumi/aws";
|
|
28
|
+
*
|
|
29
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
30
|
+
* initialCapacities: [{
|
|
31
|
+
* initialCapacityConfig: {
|
|
32
|
+
* workerConfiguration: {
|
|
33
|
+
* cpu: "2 vCPU",
|
|
34
|
+
* memory: "10 GB",
|
|
35
|
+
* },
|
|
36
|
+
* workerCount: 1,
|
|
37
|
+
* },
|
|
38
|
+
* initialCapacityType: "HiveDriver",
|
|
39
|
+
* }],
|
|
40
|
+
* releaseLabel: "emr-6.6.0",
|
|
41
|
+
* type: "hive",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
* ### Maximum Capacity Usage
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as aws from "@pulumi/aws";
|
|
49
|
+
*
|
|
50
|
+
* const example = new aws.emrserverless.Application("example", {
|
|
51
|
+
* maximumCapacity: {
|
|
52
|
+
* cpu: "2 vCPU",
|
|
53
|
+
* memory: "10 GB",
|
|
54
|
+
* },
|
|
55
|
+
* releaseLabel: "emr-6.6.0",
|
|
56
|
+
* type: "hive",
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* ## Import
|
|
61
|
+
*
|
|
62
|
+
* EMR Severless applications can be imported using the `id`, e.g.
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import aws:emrserverless/application:Application example id
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
class Application extends pulumi.CustomResource {
|
|
69
|
+
constructor(name, argsOrState, opts) {
|
|
70
|
+
let resourceInputs = {};
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
if (opts.id) {
|
|
73
|
+
const state = argsOrState;
|
|
74
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
75
|
+
resourceInputs["autoStartConfiguration"] = state ? state.autoStartConfiguration : undefined;
|
|
76
|
+
resourceInputs["autoStopConfiguration"] = state ? state.autoStopConfiguration : undefined;
|
|
77
|
+
resourceInputs["initialCapacities"] = state ? state.initialCapacities : undefined;
|
|
78
|
+
resourceInputs["maximumCapacity"] = state ? state.maximumCapacity : undefined;
|
|
79
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
80
|
+
resourceInputs["networkConfiguration"] = state ? state.networkConfiguration : undefined;
|
|
81
|
+
resourceInputs["releaseLabel"] = state ? state.releaseLabel : undefined;
|
|
82
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
83
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
84
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const args = argsOrState;
|
|
88
|
+
if ((!args || args.releaseLabel === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'releaseLabel'");
|
|
90
|
+
}
|
|
91
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
92
|
+
throw new Error("Missing required property 'type'");
|
|
93
|
+
}
|
|
94
|
+
resourceInputs["autoStartConfiguration"] = args ? args.autoStartConfiguration : undefined;
|
|
95
|
+
resourceInputs["autoStopConfiguration"] = args ? args.autoStopConfiguration : undefined;
|
|
96
|
+
resourceInputs["initialCapacities"] = args ? args.initialCapacities : undefined;
|
|
97
|
+
resourceInputs["maximumCapacity"] = args ? args.maximumCapacity : undefined;
|
|
98
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
99
|
+
resourceInputs["networkConfiguration"] = args ? args.networkConfiguration : undefined;
|
|
100
|
+
resourceInputs["releaseLabel"] = args ? args.releaseLabel : undefined;
|
|
101
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
102
|
+
resourceInputs["tagsAll"] = args ? args.tagsAll : undefined;
|
|
103
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
104
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
105
|
+
}
|
|
106
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
107
|
+
super(Application.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
111
|
+
* properties used to qualify the lookup.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resulting resource.
|
|
114
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
115
|
+
* @param state Any extra arguments used during the lookup.
|
|
116
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
117
|
+
*/
|
|
118
|
+
static get(name, id, state, opts) {
|
|
119
|
+
return new Application(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Returns true if the given object is an instance of Application. This is designed to work even
|
|
123
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
124
|
+
*/
|
|
125
|
+
static isInstance(obj) {
|
|
126
|
+
if (obj === undefined || obj === null) {
|
|
127
|
+
return false;
|
|
128
|
+
}
|
|
129
|
+
return obj['__pulumiType'] === Application.__pulumiType;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.Application = Application;
|
|
133
|
+
/** @internal */
|
|
134
|
+
Application.__pulumiType = 'aws:emrserverless/application:Application';
|
|
135
|
+
//# sourceMappingURL=application.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../emrserverless/application.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAiFlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM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