@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
|
@@ -34,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
34
|
* const example = new aws.appconfig.HostedConfigurationVersion("example", {
|
|
35
35
|
* applicationId: aws_appconfig_application.example.id,
|
|
36
36
|
* configurationProfileId: aws_appconfig_configuration_profile.example.configuration_profile_id,
|
|
37
|
-
* description: "Example
|
|
37
|
+
* description: "Example Feature Flag Configuration Version",
|
|
38
38
|
* contentType: "application/json",
|
|
39
39
|
* content: JSON.stringify({
|
|
40
40
|
* flags: {
|
|
@@ -46,6 +46,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
46
46
|
* },
|
|
47
47
|
* bar: {
|
|
48
48
|
* name: "bar",
|
|
49
|
+
* attributes: {
|
|
50
|
+
* someAttribute: {
|
|
51
|
+
* constraints: {
|
|
52
|
+
* type: "string",
|
|
53
|
+
* required: true,
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* someOtherAttribute: {
|
|
57
|
+
* constraints: {
|
|
58
|
+
* type: "number",
|
|
59
|
+
* required: true,
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
49
63
|
* },
|
|
50
64
|
* },
|
|
51
65
|
* values: {
|
|
@@ -54,6 +68,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
54
68
|
* },
|
|
55
69
|
* bar: {
|
|
56
70
|
* enabled: "true",
|
|
71
|
+
* someAttribute: "Hello World",
|
|
72
|
+
* someOtherAttribute: 123,
|
|
57
73
|
* },
|
|
58
74
|
* },
|
|
59
75
|
* version: "1",
|
|
@@ -40,7 +40,7 @@ const utilities = require("../utilities");
|
|
|
40
40
|
* const example = new aws.appconfig.HostedConfigurationVersion("example", {
|
|
41
41
|
* applicationId: aws_appconfig_application.example.id,
|
|
42
42
|
* configurationProfileId: aws_appconfig_configuration_profile.example.configuration_profile_id,
|
|
43
|
-
* description: "Example
|
|
43
|
+
* description: "Example Feature Flag Configuration Version",
|
|
44
44
|
* contentType: "application/json",
|
|
45
45
|
* content: JSON.stringify({
|
|
46
46
|
* flags: {
|
|
@@ -52,6 +52,20 @@ const utilities = require("../utilities");
|
|
|
52
52
|
* },
|
|
53
53
|
* bar: {
|
|
54
54
|
* name: "bar",
|
|
55
|
+
* attributes: {
|
|
56
|
+
* someAttribute: {
|
|
57
|
+
* constraints: {
|
|
58
|
+
* type: "string",
|
|
59
|
+
* required: true,
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* someOtherAttribute: {
|
|
63
|
+
* constraints: {
|
|
64
|
+
* type: "number",
|
|
65
|
+
* required: true,
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
55
69
|
* },
|
|
56
70
|
* },
|
|
57
71
|
* values: {
|
|
@@ -60,6 +74,8 @@ const utilities = require("../utilities");
|
|
|
60
74
|
* },
|
|
61
75
|
* bar: {
|
|
62
76
|
* enabled: "true",
|
|
77
|
+
* someAttribute: "Hello World",
|
|
78
|
+
* someOtherAttribute: 123,
|
|
63
79
|
* },
|
|
64
80
|
* },
|
|
65
81
|
* version: "1",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hostedConfigurationVersion.js","sourceRoot":"","sources":["../../appconfig/hostedConfigurationVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"hostedConfigurationVersion.js","sourceRoot":"","sources":["../../appconfig/hostedConfigurationVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0C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Ac,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEAsGC;AAxFG,gBAAgB;AACO,uCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
6
6
|
* > **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
|
+
* ### Kinesis Usage
|
|
9
10
|
*
|
|
10
11
|
* ```typescript
|
|
11
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -42,7 +43,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
42
43
|
* ],
|
|
43
44
|
* });
|
|
44
45
|
* ```
|
|
45
|
-
*
|
|
46
|
+
* ### SSM Document Usage
|
|
46
47
|
*
|
|
47
48
|
* ```typescript
|
|
48
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -117,8 +118,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
117
118
|
* }],
|
|
118
119
|
* });
|
|
119
120
|
* ```
|
|
120
|
-
*
|
|
121
|
-
* ## Example RunCommand Usage
|
|
121
|
+
* ### RunCommand Usage
|
|
122
122
|
*
|
|
123
123
|
* ```typescript
|
|
124
124
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -139,8 +139,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
139
139
|
* }],
|
|
140
140
|
* });
|
|
141
141
|
* ```
|
|
142
|
-
*
|
|
143
|
-
* ## Example API Gateway target
|
|
142
|
+
* ### API Gateway target
|
|
144
143
|
*
|
|
145
144
|
* ```typescript
|
|
146
145
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -168,8 +167,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
168
167
|
* },
|
|
169
168
|
* });
|
|
170
169
|
* ```
|
|
171
|
-
*
|
|
172
|
-
* ## Example Cross-Account Event Bus target
|
|
170
|
+
* ### Cross-Account Event Bus target
|
|
173
171
|
*
|
|
174
172
|
* ```typescript
|
|
175
173
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -210,8 +208,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
210
208
|
* roleArn: eventBusInvokeRemoteEventBusRole.arn,
|
|
211
209
|
* });
|
|
212
210
|
* ```
|
|
213
|
-
*
|
|
214
|
-
* ## Example Input Transformer Usage - JSON Object
|
|
211
|
+
* ### Input Transformer Usage - JSON Object
|
|
215
212
|
*
|
|
216
213
|
* ```typescript
|
|
217
214
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -235,8 +232,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
235
232
|
* },
|
|
236
233
|
* });
|
|
237
234
|
* ```
|
|
238
|
-
*
|
|
239
|
-
* ## Example Input Transformer Usage - Simple String
|
|
235
|
+
* ### Input Transformer Usage - Simple String
|
|
240
236
|
*
|
|
241
237
|
* ```typescript
|
|
242
238
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -256,6 +252,52 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
256
252
|
* },
|
|
257
253
|
* });
|
|
258
254
|
* ```
|
|
255
|
+
* ### Cloudwatch Log Group Usage
|
|
256
|
+
*
|
|
257
|
+
* ```typescript
|
|
258
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
259
|
+
* import * as aws from "@pulumi/aws";
|
|
260
|
+
*
|
|
261
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("exampleLogGroup", {retentionInDays: 1});
|
|
262
|
+
* const exampleEventRule = new aws.cloudwatch.EventRule("exampleEventRule", {
|
|
263
|
+
* description: "GuardDuty Findings",
|
|
264
|
+
* eventPattern: JSON.stringify({
|
|
265
|
+
* source: ["aws.guardduty"],
|
|
266
|
+
* }),
|
|
267
|
+
* tags: {
|
|
268
|
+
* Environment: "example",
|
|
269
|
+
* },
|
|
270
|
+
* });
|
|
271
|
+
* const exampleLogPolicy = aws.iam.getPolicyDocumentOutput({
|
|
272
|
+
* statements: [{
|
|
273
|
+
* actions: [
|
|
274
|
+
* "logs:CreateLogStream",
|
|
275
|
+
* "logs:PutLogEvents",
|
|
276
|
+
* ],
|
|
277
|
+
* resources: [pulumi.interpolate`${exampleLogGroup.arn}:*`],
|
|
278
|
+
* principals: [{
|
|
279
|
+
* identifiers: [
|
|
280
|
+
* "events.amazonaws.com",
|
|
281
|
+
* "delivery.logs.amazonaws.com",
|
|
282
|
+
* ],
|
|
283
|
+
* type: "Service",
|
|
284
|
+
* }],
|
|
285
|
+
* conditions: [{
|
|
286
|
+
* test: "ArnEquals",
|
|
287
|
+
* values: [exampleEventRule.arn],
|
|
288
|
+
* variable: "aws:SourceArn",
|
|
289
|
+
* }],
|
|
290
|
+
* }],
|
|
291
|
+
* });
|
|
292
|
+
* const exampleLogResourcePolicy = new aws.cloudwatch.LogResourcePolicy("exampleLogResourcePolicy", {
|
|
293
|
+
* policyDocument: exampleLogPolicy.apply(exampleLogPolicy => exampleLogPolicy.json),
|
|
294
|
+
* policyName: "guardduty-log-publishing-policy",
|
|
295
|
+
* });
|
|
296
|
+
* const exampleEventTarget = new aws.cloudwatch.EventTarget("exampleEventTarget", {
|
|
297
|
+
* rule: exampleEventRule.name,
|
|
298
|
+
* arn: exampleLogGroup.arn,
|
|
299
|
+
* });
|
|
300
|
+
* ```
|
|
259
301
|
*
|
|
260
302
|
* ## Import
|
|
261
303
|
*
|
|
@@ -11,6 +11,7 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
|
+
* ### Kinesis Usage
|
|
14
15
|
*
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -47,7 +48,7 @@ const utilities = require("../utilities");
|
|
|
47
48
|
* ],
|
|
48
49
|
* });
|
|
49
50
|
* ```
|
|
50
|
-
*
|
|
51
|
+
* ### SSM Document Usage
|
|
51
52
|
*
|
|
52
53
|
* ```typescript
|
|
53
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -122,8 +123,7 @@ const utilities = require("../utilities");
|
|
|
122
123
|
* }],
|
|
123
124
|
* });
|
|
124
125
|
* ```
|
|
125
|
-
*
|
|
126
|
-
* ## Example RunCommand Usage
|
|
126
|
+
* ### RunCommand Usage
|
|
127
127
|
*
|
|
128
128
|
* ```typescript
|
|
129
129
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -144,8 +144,7 @@ const utilities = require("../utilities");
|
|
|
144
144
|
* }],
|
|
145
145
|
* });
|
|
146
146
|
* ```
|
|
147
|
-
*
|
|
148
|
-
* ## Example API Gateway target
|
|
147
|
+
* ### API Gateway target
|
|
149
148
|
*
|
|
150
149
|
* ```typescript
|
|
151
150
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -173,8 +172,7 @@ const utilities = require("../utilities");
|
|
|
173
172
|
* },
|
|
174
173
|
* });
|
|
175
174
|
* ```
|
|
176
|
-
*
|
|
177
|
-
* ## Example Cross-Account Event Bus target
|
|
175
|
+
* ### Cross-Account Event Bus target
|
|
178
176
|
*
|
|
179
177
|
* ```typescript
|
|
180
178
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -215,8 +213,7 @@ const utilities = require("../utilities");
|
|
|
215
213
|
* roleArn: eventBusInvokeRemoteEventBusRole.arn,
|
|
216
214
|
* });
|
|
217
215
|
* ```
|
|
218
|
-
*
|
|
219
|
-
* ## Example Input Transformer Usage - JSON Object
|
|
216
|
+
* ### Input Transformer Usage - JSON Object
|
|
220
217
|
*
|
|
221
218
|
* ```typescript
|
|
222
219
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -240,8 +237,7 @@ const utilities = require("../utilities");
|
|
|
240
237
|
* },
|
|
241
238
|
* });
|
|
242
239
|
* ```
|
|
243
|
-
*
|
|
244
|
-
* ## Example Input Transformer Usage - Simple String
|
|
240
|
+
* ### Input Transformer Usage - Simple String
|
|
245
241
|
*
|
|
246
242
|
* ```typescript
|
|
247
243
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -261,6 +257,52 @@ const utilities = require("../utilities");
|
|
|
261
257
|
* },
|
|
262
258
|
* });
|
|
263
259
|
* ```
|
|
260
|
+
* ### Cloudwatch Log Group Usage
|
|
261
|
+
*
|
|
262
|
+
* ```typescript
|
|
263
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
264
|
+
* import * as aws from "@pulumi/aws";
|
|
265
|
+
*
|
|
266
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("exampleLogGroup", {retentionInDays: 1});
|
|
267
|
+
* const exampleEventRule = new aws.cloudwatch.EventRule("exampleEventRule", {
|
|
268
|
+
* description: "GuardDuty Findings",
|
|
269
|
+
* eventPattern: JSON.stringify({
|
|
270
|
+
* source: ["aws.guardduty"],
|
|
271
|
+
* }),
|
|
272
|
+
* tags: {
|
|
273
|
+
* Environment: "example",
|
|
274
|
+
* },
|
|
275
|
+
* });
|
|
276
|
+
* const exampleLogPolicy = aws.iam.getPolicyDocumentOutput({
|
|
277
|
+
* statements: [{
|
|
278
|
+
* actions: [
|
|
279
|
+
* "logs:CreateLogStream",
|
|
280
|
+
* "logs:PutLogEvents",
|
|
281
|
+
* ],
|
|
282
|
+
* resources: [pulumi.interpolate`${exampleLogGroup.arn}:*`],
|
|
283
|
+
* principals: [{
|
|
284
|
+
* identifiers: [
|
|
285
|
+
* "events.amazonaws.com",
|
|
286
|
+
* "delivery.logs.amazonaws.com",
|
|
287
|
+
* ],
|
|
288
|
+
* type: "Service",
|
|
289
|
+
* }],
|
|
290
|
+
* conditions: [{
|
|
291
|
+
* test: "ArnEquals",
|
|
292
|
+
* values: [exampleEventRule.arn],
|
|
293
|
+
* variable: "aws:SourceArn",
|
|
294
|
+
* }],
|
|
295
|
+
* }],
|
|
296
|
+
* });
|
|
297
|
+
* const exampleLogResourcePolicy = new aws.cloudwatch.LogResourcePolicy("exampleLogResourcePolicy", {
|
|
298
|
+
* policyDocument: exampleLogPolicy.apply(exampleLogPolicy => exampleLogPolicy.json),
|
|
299
|
+
* policyName: "guardduty-log-publishing-policy",
|
|
300
|
+
* });
|
|
301
|
+
* const exampleEventTarget = new aws.cloudwatch.EventTarget("exampleEventTarget", {
|
|
302
|
+
* rule: exampleEventRule.name,
|
|
303
|
+
* arn: exampleLogGroup.arn,
|
|
304
|
+
* });
|
|
305
|
+
* ```
|
|
264
306
|
*
|
|
265
307
|
* ## Import
|
|
266
308
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AA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,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IA1JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA4JC;AA9IG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -13,7 +13,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* }));
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
export declare function getLogGroups(args
|
|
16
|
+
export declare function getLogGroups(args?: GetLogGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetLogGroupsResult>;
|
|
17
17
|
/**
|
|
18
18
|
* A collection of arguments for invoking getLogGroups.
|
|
19
19
|
*/
|
|
@@ -21,7 +21,7 @@ export interface GetLogGroupsArgs {
|
|
|
21
21
|
/**
|
|
22
22
|
* The group prefix of the Cloudwatch log groups to list
|
|
23
23
|
*/
|
|
24
|
-
logGroupNamePrefix
|
|
24
|
+
logGroupNamePrefix?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* A collection of values returned by getLogGroups.
|
|
@@ -35,13 +35,13 @@ export interface GetLogGroupsResult {
|
|
|
35
35
|
* The provider-assigned unique ID for this managed resource.
|
|
36
36
|
*/
|
|
37
37
|
readonly id: string;
|
|
38
|
-
readonly logGroupNamePrefix
|
|
38
|
+
readonly logGroupNamePrefix?: string;
|
|
39
39
|
/**
|
|
40
40
|
* Set of names of the Cloudwatch log groups
|
|
41
41
|
*/
|
|
42
42
|
readonly logGroupNames: string[];
|
|
43
43
|
}
|
|
44
|
-
export declare function getLogGroupsOutput(args
|
|
44
|
+
export declare function getLogGroupsOutput(args?: GetLogGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLogGroupsResult>;
|
|
45
45
|
/**
|
|
46
46
|
* A collection of arguments for invoking getLogGroups.
|
|
47
47
|
*/
|
|
@@ -49,5 +49,5 @@ export interface GetLogGroupsOutputArgs {
|
|
|
49
49
|
/**
|
|
50
50
|
* The group prefix of the Cloudwatch log groups to list
|
|
51
51
|
*/
|
|
52
|
-
logGroupNamePrefix
|
|
52
|
+
logGroupNamePrefix?: pulumi.Input<string>;
|
|
53
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLogGroups.js","sourceRoot":"","sources":["../../cloudwatch/getLogGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"getLogGroups.js","sourceRoot":"","sources":["../../cloudwatch/getLogGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,0CAA0C,EAAE;QACrE,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA+BD,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
|
|
@@ -63,6 +63,7 @@ export interface GetUserPoolClientResult {
|
|
|
63
63
|
* (Optional) Default redirect URI. Must be in the list of callback URLs.
|
|
64
64
|
*/
|
|
65
65
|
readonly defaultRedirectUri: string;
|
|
66
|
+
readonly enablePropagateAdditionalUserContextData: boolean;
|
|
66
67
|
/**
|
|
67
68
|
* (Optional) Enables or disables token revocation.
|
|
68
69
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserPoolClient.js","sourceRoot":"","sources":["../../cognito/getUserPoolClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;
|
|
1
|
+
{"version":3,"file":"getUserPoolClient.js","sourceRoot":"","sources":["../../cognito/getUserPoolClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,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,iDAAiD,EAAE;QAC5E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8CAUC;AAuGD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -155,6 +155,10 @@ export declare class UserPoolClient extends pulumi.CustomResource {
|
|
|
155
155
|
* Default redirect URI. Must be in the list of callback URLs.
|
|
156
156
|
*/
|
|
157
157
|
readonly defaultRedirectUri: pulumi.Output<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* Activates the propagation of additional user context data.
|
|
160
|
+
*/
|
|
161
|
+
readonly enablePropagateAdditionalUserContextData: pulumi.Output<boolean | undefined>;
|
|
158
162
|
/**
|
|
159
163
|
* Enables or disables token revocation.
|
|
160
164
|
*/
|
|
@@ -252,6 +256,10 @@ export interface UserPoolClientState {
|
|
|
252
256
|
* Default redirect URI. Must be in the list of callback URLs.
|
|
253
257
|
*/
|
|
254
258
|
defaultRedirectUri?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Activates the propagation of additional user context data.
|
|
261
|
+
*/
|
|
262
|
+
enablePropagateAdditionalUserContextData?: pulumi.Input<boolean>;
|
|
255
263
|
/**
|
|
256
264
|
* Enables or disables token revocation.
|
|
257
265
|
*/
|
|
@@ -337,6 +345,10 @@ export interface UserPoolClientArgs {
|
|
|
337
345
|
* Default redirect URI. Must be in the list of callback URLs.
|
|
338
346
|
*/
|
|
339
347
|
defaultRedirectUri?: pulumi.Input<string>;
|
|
348
|
+
/**
|
|
349
|
+
* Activates the propagation of additional user context data.
|
|
350
|
+
*/
|
|
351
|
+
enablePropagateAdditionalUserContextData?: pulumi.Input<boolean>;
|
|
340
352
|
/**
|
|
341
353
|
* Enables or disables token revocation.
|
|
342
354
|
*/
|
|
@@ -126,6 +126,7 @@ class UserPoolClient extends pulumi.CustomResource {
|
|
|
126
126
|
resourceInputs["callbackUrls"] = state ? state.callbackUrls : undefined;
|
|
127
127
|
resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
|
|
128
128
|
resourceInputs["defaultRedirectUri"] = state ? state.defaultRedirectUri : undefined;
|
|
129
|
+
resourceInputs["enablePropagateAdditionalUserContextData"] = state ? state.enablePropagateAdditionalUserContextData : undefined;
|
|
129
130
|
resourceInputs["enableTokenRevocation"] = state ? state.enableTokenRevocation : undefined;
|
|
130
131
|
resourceInputs["explicitAuthFlows"] = state ? state.explicitAuthFlows : undefined;
|
|
131
132
|
resourceInputs["generateSecret"] = state ? state.generateSecret : undefined;
|
|
@@ -152,6 +153,7 @@ class UserPoolClient extends pulumi.CustomResource {
|
|
|
152
153
|
resourceInputs["analyticsConfiguration"] = args ? args.analyticsConfiguration : undefined;
|
|
153
154
|
resourceInputs["callbackUrls"] = args ? args.callbackUrls : undefined;
|
|
154
155
|
resourceInputs["defaultRedirectUri"] = args ? args.defaultRedirectUri : undefined;
|
|
156
|
+
resourceInputs["enablePropagateAdditionalUserContextData"] = args ? args.enablePropagateAdditionalUserContextData : undefined;
|
|
155
157
|
resourceInputs["enableTokenRevocation"] = args ? args.enableTokenRevocation : undefined;
|
|
156
158
|
resourceInputs["explicitAuthFlows"] = args ? args.explicitAuthFlows : undefined;
|
|
157
159
|
resourceInputs["generateSecret"] = args ? args.generateSecret : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userPoolClient.js","sourceRoot":"","sources":["../../cognito/userPoolClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"userPoolClient.js","sourceRoot":"","sources":["../../cognito/userPoolClient.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA6HrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YACl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,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IArLD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,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,wCAuLC;AAzKG,gBAAgB;AACO,2BAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a CE Anomaly Monitor.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* There are two main types of a Cost Anomaly Monitor: `DIMENSIONAL` and `CUSTOM`.
|
|
8
|
+
* ### Dimensional Example
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const serviceMonitor = new aws.costexplorer.AnomalyMonitor("service_monitor", {
|
|
15
|
+
* dimension: "SERVICE",
|
|
16
|
+
* type: "DIMENSIONAL",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
* ### Custom Example
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as aws from "@pulumi/aws";
|
|
24
|
+
*
|
|
25
|
+
* const test = new aws.costexplorer.AnomalyMonitor("test", {
|
|
26
|
+
* specification: `{
|
|
27
|
+
* "And": null,
|
|
28
|
+
* "CostCategories": null,
|
|
29
|
+
* "Dimensions": null,
|
|
30
|
+
* "Not": null,
|
|
31
|
+
* "Or": null,
|
|
32
|
+
* "Tags": {
|
|
33
|
+
* "Key": "CostCenter",
|
|
34
|
+
* "MatchOptions": null,
|
|
35
|
+
* "Values": [
|
|
36
|
+
* "10000"
|
|
37
|
+
* ]
|
|
38
|
+
* }
|
|
39
|
+
* }
|
|
40
|
+
* `,
|
|
41
|
+
* type: "CUSTOM",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* `aws_ce_anomaly_monitor` can be imported using the `id`, e.g.
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import aws:costexplorer/anomalyMonitor:AnomalyMonitor example costAnomalyMonitorARN
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class AnomalyMonitor extends pulumi.CustomResource {
|
|
54
|
+
/**
|
|
55
|
+
* Get an existing AnomalyMonitor resource's state with the given name, ID, and optional extra
|
|
56
|
+
* properties used to qualify the lookup.
|
|
57
|
+
*
|
|
58
|
+
* @param name The _unique_ name of the resulting resource.
|
|
59
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
60
|
+
* @param state Any extra arguments used during the lookup.
|
|
61
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
62
|
+
*/
|
|
63
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AnomalyMonitorState, opts?: pulumi.CustomResourceOptions): AnomalyMonitor;
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of AnomalyMonitor. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj: any): obj is AnomalyMonitor;
|
|
69
|
+
/**
|
|
70
|
+
* ARN of the anomaly monitor.
|
|
71
|
+
*/
|
|
72
|
+
readonly arn: pulumi.Output<string>;
|
|
73
|
+
readonly monitorDimension: pulumi.Output<string | undefined>;
|
|
74
|
+
readonly monitorSpecification: pulumi.Output<string | undefined>;
|
|
75
|
+
readonly monitorType: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the monitor.
|
|
78
|
+
*/
|
|
79
|
+
readonly name: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* A map of tags to assign to the resource. 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.
|
|
82
|
+
*/
|
|
83
|
+
readonly tags: pulumi.Output<{
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
} | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* A 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).
|
|
88
|
+
*/
|
|
89
|
+
readonly tagsAll: pulumi.Output<{
|
|
90
|
+
[key: string]: string;
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a AnomalyMonitor resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: AnomalyMonitorArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering AnomalyMonitor resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface AnomalyMonitorState {
|
|
105
|
+
/**
|
|
106
|
+
* ARN of the anomaly monitor.
|
|
107
|
+
*/
|
|
108
|
+
arn?: pulumi.Input<string>;
|
|
109
|
+
monitorDimension?: pulumi.Input<string>;
|
|
110
|
+
monitorSpecification?: pulumi.Input<string>;
|
|
111
|
+
monitorType?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the monitor.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* A map of tags to assign to the resource. 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.
|
|
118
|
+
*/
|
|
119
|
+
tags?: pulumi.Input<{
|
|
120
|
+
[key: string]: pulumi.Input<string>;
|
|
121
|
+
}>;
|
|
122
|
+
/**
|
|
123
|
+
* A 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).
|
|
124
|
+
*/
|
|
125
|
+
tagsAll?: pulumi.Input<{
|
|
126
|
+
[key: string]: pulumi.Input<string>;
|
|
127
|
+
}>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The set of arguments for constructing a AnomalyMonitor resource.
|
|
131
|
+
*/
|
|
132
|
+
export interface AnomalyMonitorArgs {
|
|
133
|
+
monitorDimension?: pulumi.Input<string>;
|
|
134
|
+
monitorSpecification?: pulumi.Input<string>;
|
|
135
|
+
monitorType: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The name of the monitor.
|
|
138
|
+
*/
|
|
139
|
+
name?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* A map of tags to assign to the resource. 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.
|
|
142
|
+
*/
|
|
143
|
+
tags?: pulumi.Input<{
|
|
144
|
+
[key: string]: pulumi.Input<string>;
|
|
145
|
+
}>;
|
|
146
|
+
/**
|
|
147
|
+
* A 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).
|
|
148
|
+
*/
|
|
149
|
+
tagsAll?: pulumi.Input<{
|
|
150
|
+
[key: string]: pulumi.Input<string>;
|
|
151
|
+
}>;
|
|
152
|
+
}
|