@pulumi/aws 6.8.0-alpha.1699047389 → 6.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/amplify/app.d.ts +34 -0
- package/amplify/app.js +24 -0
- package/amplify/app.js.map +1 -1
- package/appflow/flow.d.ts +4 -4
- package/appflow/flow.js +4 -4
- package/batch/jobDefinition.d.ts +59 -3
- package/batch/jobDefinition.js +43 -0
- package/batch/jobDefinition.js.map +1 -1
- package/detective/index.d.ts +6 -0
- package/detective/index.js +11 -1
- package/detective/index.js.map +1 -1
- package/detective/organizationAdminAccount.d.ts +74 -0
- package/detective/organizationAdminAccount.js +78 -0
- package/detective/organizationAdminAccount.js.map +1 -0
- package/detective/organizationConfiguration.d.ts +69 -0
- package/detective/organizationConfiguration.js +66 -0
- package/detective/organizationConfiguration.js.map +1 -0
- package/ec2/launchTemplate.d.ts +2 -2
- package/ec2/mainRouteTableAssociation.d.ts +1 -1
- package/ec2/mainRouteTableAssociation.js +1 -1
- package/ec2/vpcEndpoint.d.ts +6 -6
- package/mq/broker.d.ts +5 -5
- package/mq/broker.js +2 -2
- package/mq/configuration.d.ts +2 -2
- package/mq/configuration.js +2 -2
- package/networkmanager/connectAttachment.d.ts +3 -3
- package/networkmanager/connectPeer.d.ts +17 -5
- package/networkmanager/connectPeer.js +2 -3
- package/networkmanager/connectPeer.js.map +1 -1
- package/opensearch/getServerlessLifecyclePolicy.d.ts +89 -0
- package/opensearch/getServerlessLifecyclePolicy.js +52 -0
- package/opensearch/getServerlessLifecyclePolicy.js.map +1 -0
- package/opensearch/index.d.ts +6 -0
- package/opensearch/index.js +9 -1
- package/opensearch/index.js.map +1 -1
- package/opensearch/serverlessLifecyclePolicy.d.ts +135 -0
- package/opensearch/serverlessLifecyclePolicy.js +100 -0
- package/opensearch/serverlessLifecyclePolicy.js.map +1 -0
- package/package.json +1 -1
- package/rds/cluster.d.ts +1 -1
- package/rds/getSnapshot.d.ts +8 -4
- package/rds/getSnapshot.js.map +1 -1
- package/redshift/cluster.d.ts +81 -9
- package/redshift/cluster.js +24 -0
- package/redshift/cluster.js.map +1 -1
- package/redshift/index.d.ts +3 -0
- package/redshift/index.js +6 -1
- package/redshift/index.js.map +1 -1
- package/redshift/resourcePolicy.d.ts +94 -0
- package/redshift/resourcePolicy.js +91 -0
- package/redshift/resourcePolicy.js.map +1 -0
- package/s3/bucketObjectv2.d.ts +38 -0
- package/s3/bucketObjectv2.js +26 -0
- package/s3/bucketObjectv2.js.map +1 -1
- package/secretsmanager/secretRotation.d.ts +5 -5
- package/secretsmanager/secretRotation.js +0 -3
- package/secretsmanager/secretRotation.js.map +1 -1
- package/types/input.d.ts +65 -5
- package/types/output.d.ts +67 -9
- package/verifiedaccess/endpoint.d.ts +284 -0
- package/verifiedaccess/endpoint.js +159 -0
- package/verifiedaccess/endpoint.js.map +1 -0
- package/verifiedaccess/index.d.ts +3 -0
- package/verifiedaccess/index.js +6 -1
- package/verifiedaccess/index.js.map +1 -1
package/amplify/app.d.ts
CHANGED
|
@@ -103,6 +103,28 @@ import * as outputs from "../types/output";
|
|
|
103
103
|
* _CUSTOM_IMAGE: "node:16",
|
|
104
104
|
* }});
|
|
105
105
|
* ```
|
|
106
|
+
* ### Custom Headers
|
|
107
|
+
*
|
|
108
|
+
* ```typescript
|
|
109
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
110
|
+
* import * as aws from "@pulumi/aws";
|
|
111
|
+
*
|
|
112
|
+
* const example = new aws.amplify.App("example", {customHeaders: ` customHeaders:
|
|
113
|
+
* - pattern: '**'
|
|
114
|
+
* headers:
|
|
115
|
+
* - key: 'Strict-Transport-Security'
|
|
116
|
+
* value: 'max-age=31536000; includeSubDomains'
|
|
117
|
+
* - key: 'X-Frame-Options'
|
|
118
|
+
* value: 'SAMEORIGIN'
|
|
119
|
+
* - key: 'X-XSS-Protection'
|
|
120
|
+
* value: '1; mode=block'
|
|
121
|
+
* - key: 'X-Content-Type-Options'
|
|
122
|
+
* value: 'nosniff'
|
|
123
|
+
* - key: 'Content-Security-Policy'
|
|
124
|
+
* value: "default-src 'self'"
|
|
125
|
+
*
|
|
126
|
+
* `});
|
|
127
|
+
* ```
|
|
106
128
|
*
|
|
107
129
|
* ## Import
|
|
108
130
|
*
|
|
@@ -153,6 +175,10 @@ export declare class App extends pulumi.CustomResource {
|
|
|
153
175
|
* The [build specification](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html) (build spec) for an Amplify app.
|
|
154
176
|
*/
|
|
155
177
|
readonly buildSpec: pulumi.Output<string>;
|
|
178
|
+
/**
|
|
179
|
+
* The [custom HTTP headers](https://docs.aws.amazon.com/amplify/latest/userguide/custom-headers.html) for an Amplify app.
|
|
180
|
+
*/
|
|
181
|
+
readonly customHeaders: pulumi.Output<string>;
|
|
156
182
|
/**
|
|
157
183
|
* Custom rewrite and redirect rules for an Amplify app. A `customRule` block is documented below.
|
|
158
184
|
*/
|
|
@@ -262,6 +288,10 @@ export interface AppState {
|
|
|
262
288
|
* The [build specification](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html) (build spec) for an Amplify app.
|
|
263
289
|
*/
|
|
264
290
|
buildSpec?: pulumi.Input<string>;
|
|
291
|
+
/**
|
|
292
|
+
* The [custom HTTP headers](https://docs.aws.amazon.com/amplify/latest/userguide/custom-headers.html) for an Amplify app.
|
|
293
|
+
*/
|
|
294
|
+
customHeaders?: pulumi.Input<string>;
|
|
265
295
|
/**
|
|
266
296
|
* Custom rewrite and redirect rules for an Amplify app. A `customRule` block is documented below.
|
|
267
297
|
*/
|
|
@@ -359,6 +389,10 @@ export interface AppArgs {
|
|
|
359
389
|
* The [build specification](https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html) (build spec) for an Amplify app.
|
|
360
390
|
*/
|
|
361
391
|
buildSpec?: pulumi.Input<string>;
|
|
392
|
+
/**
|
|
393
|
+
* The [custom HTTP headers](https://docs.aws.amazon.com/amplify/latest/userguide/custom-headers.html) for an Amplify app.
|
|
394
|
+
*/
|
|
395
|
+
customHeaders?: pulumi.Input<string>;
|
|
362
396
|
/**
|
|
363
397
|
* Custom rewrite and redirect rules for an Amplify app. A `customRule` block is documented below.
|
|
364
398
|
*/
|
package/amplify/app.js
CHANGED
|
@@ -107,6 +107,28 @@ const utilities = require("../utilities");
|
|
|
107
107
|
* _CUSTOM_IMAGE: "node:16",
|
|
108
108
|
* }});
|
|
109
109
|
* ```
|
|
110
|
+
* ### Custom Headers
|
|
111
|
+
*
|
|
112
|
+
* ```typescript
|
|
113
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
114
|
+
* import * as aws from "@pulumi/aws";
|
|
115
|
+
*
|
|
116
|
+
* const example = new aws.amplify.App("example", {customHeaders: ` customHeaders:
|
|
117
|
+
* - pattern: '**'
|
|
118
|
+
* headers:
|
|
119
|
+
* - key: 'Strict-Transport-Security'
|
|
120
|
+
* value: 'max-age=31536000; includeSubDomains'
|
|
121
|
+
* - key: 'X-Frame-Options'
|
|
122
|
+
* value: 'SAMEORIGIN'
|
|
123
|
+
* - key: 'X-XSS-Protection'
|
|
124
|
+
* value: '1; mode=block'
|
|
125
|
+
* - key: 'X-Content-Type-Options'
|
|
126
|
+
* value: 'nosniff'
|
|
127
|
+
* - key: 'Content-Security-Policy'
|
|
128
|
+
* value: "default-src 'self'"
|
|
129
|
+
*
|
|
130
|
+
* `});
|
|
131
|
+
* ```
|
|
110
132
|
*
|
|
111
133
|
* ## Import
|
|
112
134
|
*
|
|
@@ -151,6 +173,7 @@ class App extends pulumi.CustomResource {
|
|
|
151
173
|
resourceInputs["autoBranchCreationPatterns"] = state ? state.autoBranchCreationPatterns : undefined;
|
|
152
174
|
resourceInputs["basicAuthCredentials"] = state ? state.basicAuthCredentials : undefined;
|
|
153
175
|
resourceInputs["buildSpec"] = state ? state.buildSpec : undefined;
|
|
176
|
+
resourceInputs["customHeaders"] = state ? state.customHeaders : undefined;
|
|
154
177
|
resourceInputs["customRules"] = state ? state.customRules : undefined;
|
|
155
178
|
resourceInputs["defaultDomain"] = state ? state.defaultDomain : undefined;
|
|
156
179
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
@@ -175,6 +198,7 @@ class App extends pulumi.CustomResource {
|
|
|
175
198
|
resourceInputs["autoBranchCreationPatterns"] = args ? args.autoBranchCreationPatterns : undefined;
|
|
176
199
|
resourceInputs["basicAuthCredentials"] = (args === null || args === void 0 ? void 0 : args.basicAuthCredentials) ? pulumi.secret(args.basicAuthCredentials) : undefined;
|
|
177
200
|
resourceInputs["buildSpec"] = args ? args.buildSpec : undefined;
|
|
201
|
+
resourceInputs["customHeaders"] = args ? args.customHeaders : undefined;
|
|
178
202
|
resourceInputs["customRules"] = args ? args.customRules : undefined;
|
|
179
203
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
180
204
|
resourceInputs["enableAutoBranchCreation"] = args ? args.enableAutoBranchCreation : undefined;
|
package/amplify/app.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../amplify/app.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../amplify/app.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqIG;AACH,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgB,EAAE,IAAmC;QAC9G,OAAO,IAAI,GAAG,CAAC,IAAI,EAAO,K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from "../types/output";
|
|
|
24
24
|
* "s3:GetObject",
|
|
25
25
|
* ],
|
|
26
26
|
* resources: [
|
|
27
|
-
* "arn:aws:s3:::
|
|
28
|
-
* "arn:aws:s3:::
|
|
27
|
+
* "arn:aws:s3:::example-source",
|
|
28
|
+
* "arn:aws:s3:::example-source/*",
|
|
29
29
|
* ],
|
|
30
30
|
* }],
|
|
31
31
|
* });
|
|
@@ -56,8 +56,8 @@ import * as outputs from "../types/output";
|
|
|
56
56
|
* "s3:PutObjectAcl",
|
|
57
57
|
* ],
|
|
58
58
|
* resources: [
|
|
59
|
-
* "arn:aws:s3:::
|
|
60
|
-
* "arn:aws:s3:::
|
|
59
|
+
* "arn:aws:s3:::example-destination",
|
|
60
|
+
* "arn:aws:s3:::example-destination/*",
|
|
61
61
|
* ],
|
|
62
62
|
* }],
|
|
63
63
|
* });
|
package/appflow/flow.js
CHANGED
|
@@ -28,8 +28,8 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* "s3:GetObject",
|
|
29
29
|
* ],
|
|
30
30
|
* resources: [
|
|
31
|
-
* "arn:aws:s3:::
|
|
32
|
-
* "arn:aws:s3:::
|
|
31
|
+
* "arn:aws:s3:::example-source",
|
|
32
|
+
* "arn:aws:s3:::example-source/*",
|
|
33
33
|
* ],
|
|
34
34
|
* }],
|
|
35
35
|
* });
|
|
@@ -60,8 +60,8 @@ const utilities = require("../utilities");
|
|
|
60
60
|
* "s3:PutObjectAcl",
|
|
61
61
|
* ],
|
|
62
62
|
* resources: [
|
|
63
|
-
* "arn:aws:s3:::
|
|
64
|
-
* "arn:aws:s3:::
|
|
63
|
+
* "arn:aws:s3:::example-destination",
|
|
64
|
+
* "arn:aws:s3:::example-destination/*",
|
|
65
65
|
* ],
|
|
66
66
|
* }],
|
|
67
67
|
* });
|
package/batch/jobDefinition.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
* Provides a Batch Job Definition resource.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
|
+
* ### Job definition of type container
|
|
8
9
|
*
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -51,6 +52,46 @@ import * as outputs from "../types/output";
|
|
|
51
52
|
* }),
|
|
52
53
|
* });
|
|
53
54
|
* ```
|
|
55
|
+
* ### Job definition of type multinode
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as aws from "@pulumi/aws";
|
|
60
|
+
*
|
|
61
|
+
* const test = new aws.batch.JobDefinition("test", {
|
|
62
|
+
* type: "multinode",
|
|
63
|
+
* nodeProperties: JSON.stringify({
|
|
64
|
+
* mainNode: 0,
|
|
65
|
+
* nodeRangeProperties: [
|
|
66
|
+
* {
|
|
67
|
+
* container: {
|
|
68
|
+
* command: [
|
|
69
|
+
* "ls",
|
|
70
|
+
* "-la",
|
|
71
|
+
* ],
|
|
72
|
+
* image: "busybox",
|
|
73
|
+
* memory: 128,
|
|
74
|
+
* vcpus: 1,
|
|
75
|
+
* },
|
|
76
|
+
* targetNodes: "0:",
|
|
77
|
+
* },
|
|
78
|
+
* {
|
|
79
|
+
* container: {
|
|
80
|
+
* command: [
|
|
81
|
+
* "echo",
|
|
82
|
+
* "test",
|
|
83
|
+
* ],
|
|
84
|
+
* image: "busybox",
|
|
85
|
+
* memory: 128,
|
|
86
|
+
* vcpus: 1,
|
|
87
|
+
* },
|
|
88
|
+
* targetNodes: "1:",
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* numNodes: 2,
|
|
92
|
+
* }),
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
54
95
|
* ### Fargate Platform Capability
|
|
55
96
|
*
|
|
56
97
|
* ```typescript
|
|
@@ -136,6 +177,11 @@ export declare class JobDefinition extends pulumi.CustomResource {
|
|
|
136
177
|
* Specifies the name of the job definition.
|
|
137
178
|
*/
|
|
138
179
|
readonly name: pulumi.Output<string>;
|
|
180
|
+
/**
|
|
181
|
+
* A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
|
|
182
|
+
* provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
|
|
183
|
+
*/
|
|
184
|
+
readonly nodeProperties: pulumi.Output<string | undefined>;
|
|
139
185
|
/**
|
|
140
186
|
* Specifies the parameter substitution placeholders to set in the job definition.
|
|
141
187
|
*/
|
|
@@ -178,7 +224,7 @@ export declare class JobDefinition extends pulumi.CustomResource {
|
|
|
178
224
|
*/
|
|
179
225
|
readonly timeout: pulumi.Output<outputs.batch.JobDefinitionTimeout | undefined>;
|
|
180
226
|
/**
|
|
181
|
-
* The type of job definition. Must be `container`.
|
|
227
|
+
* The type of job definition. Must be `container` or `multinode`.
|
|
182
228
|
*
|
|
183
229
|
* The following arguments are optional:
|
|
184
230
|
*/
|
|
@@ -209,6 +255,11 @@ export interface JobDefinitionState {
|
|
|
209
255
|
* Specifies the name of the job definition.
|
|
210
256
|
*/
|
|
211
257
|
name?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
|
|
260
|
+
* provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
|
|
261
|
+
*/
|
|
262
|
+
nodeProperties?: pulumi.Input<string>;
|
|
212
263
|
/**
|
|
213
264
|
* Specifies the parameter substitution placeholders to set in the job definition.
|
|
214
265
|
*/
|
|
@@ -251,7 +302,7 @@ export interface JobDefinitionState {
|
|
|
251
302
|
*/
|
|
252
303
|
timeout?: pulumi.Input<inputs.batch.JobDefinitionTimeout>;
|
|
253
304
|
/**
|
|
254
|
-
* The type of job definition. Must be `container`.
|
|
305
|
+
* The type of job definition. Must be `container` or `multinode`.
|
|
255
306
|
*
|
|
256
307
|
* The following arguments are optional:
|
|
257
308
|
*/
|
|
@@ -270,6 +321,11 @@ export interface JobDefinitionArgs {
|
|
|
270
321
|
* Specifies the name of the job definition.
|
|
271
322
|
*/
|
|
272
323
|
name?: pulumi.Input<string>;
|
|
324
|
+
/**
|
|
325
|
+
* A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
|
|
326
|
+
* provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
|
|
327
|
+
*/
|
|
328
|
+
nodeProperties?: pulumi.Input<string>;
|
|
273
329
|
/**
|
|
274
330
|
* Specifies the parameter substitution placeholders to set in the job definition.
|
|
275
331
|
*/
|
|
@@ -300,7 +356,7 @@ export interface JobDefinitionArgs {
|
|
|
300
356
|
*/
|
|
301
357
|
timeout?: pulumi.Input<inputs.batch.JobDefinitionTimeout>;
|
|
302
358
|
/**
|
|
303
|
-
* The type of job definition. Must be `container`.
|
|
359
|
+
* The type of job definition. Must be `container` or `multinode`.
|
|
304
360
|
*
|
|
305
361
|
* The following arguments are optional:
|
|
306
362
|
*/
|
package/batch/jobDefinition.js
CHANGED
|
@@ -9,6 +9,7 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* Provides a Batch Job Definition resource.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
|
+
* ### Job definition of type container
|
|
12
13
|
*
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -55,6 +56,46 @@ const utilities = require("../utilities");
|
|
|
55
56
|
* }),
|
|
56
57
|
* });
|
|
57
58
|
* ```
|
|
59
|
+
* ### Job definition of type multinode
|
|
60
|
+
*
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as aws from "@pulumi/aws";
|
|
64
|
+
*
|
|
65
|
+
* const test = new aws.batch.JobDefinition("test", {
|
|
66
|
+
* type: "multinode",
|
|
67
|
+
* nodeProperties: JSON.stringify({
|
|
68
|
+
* mainNode: 0,
|
|
69
|
+
* nodeRangeProperties: [
|
|
70
|
+
* {
|
|
71
|
+
* container: {
|
|
72
|
+
* command: [
|
|
73
|
+
* "ls",
|
|
74
|
+
* "-la",
|
|
75
|
+
* ],
|
|
76
|
+
* image: "busybox",
|
|
77
|
+
* memory: 128,
|
|
78
|
+
* vcpus: 1,
|
|
79
|
+
* },
|
|
80
|
+
* targetNodes: "0:",
|
|
81
|
+
* },
|
|
82
|
+
* {
|
|
83
|
+
* container: {
|
|
84
|
+
* command: [
|
|
85
|
+
* "echo",
|
|
86
|
+
* "test",
|
|
87
|
+
* ],
|
|
88
|
+
* image: "busybox",
|
|
89
|
+
* memory: 128,
|
|
90
|
+
* vcpus: 1,
|
|
91
|
+
* },
|
|
92
|
+
* targetNodes: "1:",
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* numNodes: 2,
|
|
96
|
+
* }),
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
58
99
|
* ### Fargate Platform Capability
|
|
59
100
|
*
|
|
60
101
|
* ```typescript
|
|
@@ -142,6 +183,7 @@ class JobDefinition extends pulumi.CustomResource {
|
|
|
142
183
|
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
143
184
|
resourceInputs["containerProperties"] = state ? state.containerProperties : undefined;
|
|
144
185
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
186
|
+
resourceInputs["nodeProperties"] = state ? state.nodeProperties : undefined;
|
|
145
187
|
resourceInputs["parameters"] = state ? state.parameters : undefined;
|
|
146
188
|
resourceInputs["platformCapabilities"] = state ? state.platformCapabilities : undefined;
|
|
147
189
|
resourceInputs["propagateTags"] = state ? state.propagateTags : undefined;
|
|
@@ -159,6 +201,7 @@ class JobDefinition extends pulumi.CustomResource {
|
|
|
159
201
|
}
|
|
160
202
|
resourceInputs["containerProperties"] = args ? args.containerProperties : undefined;
|
|
161
203
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
204
|
+
resourceInputs["nodeProperties"] = args ? args.nodeProperties : undefined;
|
|
162
205
|
resourceInputs["parameters"] = args ? args.parameters : undefined;
|
|
163
206
|
resourceInputs["platformCapabilities"] = args ? args.platformCapabilities : undefined;
|
|
164
207
|
resourceInputs["propagateTags"] = args ? args.propagateTags : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobDefinition.js","sourceRoot":"","sources":["../../batch/jobDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"jobDefinition.js","sourceRoot":"","sources":["../../batch/jobDefinition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkJG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAsED,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB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CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzIL,sCA0IC;AA5HG,gBAAgB;AACO,0BAAY,GAAG,uCAAuC,CAAC"}
|
package/detective/index.d.ts
CHANGED
|
@@ -7,3 +7,9 @@ export declare const InvitationAccepter: typeof import("./invitationAccepter").I
|
|
|
7
7
|
export { MemberArgs, MemberState } from "./member";
|
|
8
8
|
export type Member = import("./member").Member;
|
|
9
9
|
export declare const Member: typeof import("./member").Member;
|
|
10
|
+
export { OrganizationAdminAccountArgs, OrganizationAdminAccountState } from "./organizationAdminAccount";
|
|
11
|
+
export type OrganizationAdminAccount = import("./organizationAdminAccount").OrganizationAdminAccount;
|
|
12
|
+
export declare const OrganizationAdminAccount: typeof import("./organizationAdminAccount").OrganizationAdminAccount;
|
|
13
|
+
export { OrganizationConfigurationArgs, OrganizationConfigurationState } from "./organizationConfiguration";
|
|
14
|
+
export type OrganizationConfiguration = import("./organizationConfiguration").OrganizationConfiguration;
|
|
15
|
+
export declare const OrganizationConfiguration: typeof import("./organizationConfiguration").OrganizationConfiguration;
|
package/detective/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.Member = exports.InvitationAccepter = exports.Graph = void 0;
|
|
5
|
+
exports.OrganizationConfiguration = exports.OrganizationAdminAccount = exports.Member = exports.InvitationAccepter = exports.Graph = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Graph = null;
|
|
@@ -11,6 +11,10 @@ exports.InvitationAccepter = null;
|
|
|
11
11
|
utilities.lazyLoad(exports, ["InvitationAccepter"], () => require("./invitationAccepter"));
|
|
12
12
|
exports.Member = null;
|
|
13
13
|
utilities.lazyLoad(exports, ["Member"], () => require("./member"));
|
|
14
|
+
exports.OrganizationAdminAccount = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["OrganizationAdminAccount"], () => require("./organizationAdminAccount"));
|
|
16
|
+
exports.OrganizationConfiguration = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["OrganizationConfiguration"], () => require("./organizationConfiguration"));
|
|
14
18
|
const _module = {
|
|
15
19
|
version: utilities.getVersion(),
|
|
16
20
|
construct: (name, type, urn) => {
|
|
@@ -21,6 +25,10 @@ const _module = {
|
|
|
21
25
|
return new exports.InvitationAccepter(name, undefined, { urn });
|
|
22
26
|
case "aws:detective/member:Member":
|
|
23
27
|
return new exports.Member(name, undefined, { urn });
|
|
28
|
+
case "aws:detective/organizationAdminAccount:OrganizationAdminAccount":
|
|
29
|
+
return new exports.OrganizationAdminAccount(name, undefined, { urn });
|
|
30
|
+
case "aws:detective/organizationConfiguration:OrganizationConfiguration":
|
|
31
|
+
return new exports.OrganizationConfiguration(name, undefined, { urn });
|
|
24
32
|
default:
|
|
25
33
|
throw new Error(`unknown resource type ${type}`);
|
|
26
34
|
}
|
|
@@ -29,4 +37,6 @@ const _module = {
|
|
|
29
37
|
pulumi.runtime.registerResourceModule("aws", "detective/graph", _module);
|
|
30
38
|
pulumi.runtime.registerResourceModule("aws", "detective/invitationAccepter", _module);
|
|
31
39
|
pulumi.runtime.registerResourceModule("aws", "detective/member", _module);
|
|
40
|
+
pulumi.runtime.registerResourceModule("aws", "detective/organizationAdminAccount", _module);
|
|
41
|
+
pulumi.runtime.registerResourceModule("aws", "detective/organizationConfiguration", _module);
|
|
32
42
|
//# sourceMappingURL=index.js.map
|
package/detective/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../detective/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,KAAK,GAAmC,IAAW,CAAC;AACjE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;AAIpD,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EA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S,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,iEAAiE;gBAClE,OAAO,IAAI,gCAAwB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtE,KAAK,mEAAmE;gBACpE,OAAO,IAAI,iCAAyB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Detective Organization Admin Account. The AWS account utilizing this resource must be an Organizations primary account. More information about Organizations support in Detective can be found in the [Detective User Guide](https://docs.aws.amazon.com/detective/latest/adminguide/accounts-orgs-transition.html).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const exampleOrganization = new aws.organizations.Organization("exampleOrganization", {
|
|
12
|
+
* awsServiceAccessPrincipals: ["detective.amazonaws.com"],
|
|
13
|
+
* featureSet: "ALL",
|
|
14
|
+
* });
|
|
15
|
+
* const exampleOrganizationAdminAccount = new aws.detective.OrganizationAdminAccount("exampleOrganizationAdminAccount", {accountId: "123456789012"}, {
|
|
16
|
+
* dependsOn: [exampleOrganization],
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Using `pulumi import`, import `aws_detective_organization_admin_account` using `account_id`. For example:
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:detective/organizationAdminAccount:OrganizationAdminAccount example 123456789012
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class OrganizationAdminAccount extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing OrganizationAdminAccount resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationAdminAccountState, opts?: pulumi.CustomResourceOptions): OrganizationAdminAccount;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of OrganizationAdminAccount. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is OrganizationAdminAccount;
|
|
44
|
+
/**
|
|
45
|
+
* AWS account identifier to designate as a delegated administrator for Detective.
|
|
46
|
+
*/
|
|
47
|
+
readonly accountId: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a OrganizationAdminAccount resource with the given unique name, arguments, and options.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resource.
|
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
54
|
+
*/
|
|
55
|
+
constructor(name: string, args: OrganizationAdminAccountArgs, opts?: pulumi.CustomResourceOptions);
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Input properties used for looking up and filtering OrganizationAdminAccount resources.
|
|
59
|
+
*/
|
|
60
|
+
export interface OrganizationAdminAccountState {
|
|
61
|
+
/**
|
|
62
|
+
* AWS account identifier to designate as a delegated administrator for Detective.
|
|
63
|
+
*/
|
|
64
|
+
accountId?: pulumi.Input<string>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The set of arguments for constructing a OrganizationAdminAccount resource.
|
|
68
|
+
*/
|
|
69
|
+
export interface OrganizationAdminAccountArgs {
|
|
70
|
+
/**
|
|
71
|
+
* AWS account identifier to designate as a delegated administrator for Detective.
|
|
72
|
+
*/
|
|
73
|
+
accountId: pulumi.Input<string>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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.OrganizationAdminAccount = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Detective Organization Admin Account. The AWS account utilizing this resource must be an Organizations primary account. More information about Organizations support in Detective can be found in the [Detective User Guide](https://docs.aws.amazon.com/detective/latest/adminguide/accounts-orgs-transition.html).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const exampleOrganization = new aws.organizations.Organization("exampleOrganization", {
|
|
18
|
+
* awsServiceAccessPrincipals: ["detective.amazonaws.com"],
|
|
19
|
+
* featureSet: "ALL",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleOrganizationAdminAccount = new aws.detective.OrganizationAdminAccount("exampleOrganizationAdminAccount", {accountId: "123456789012"}, {
|
|
22
|
+
* dependsOn: [exampleOrganization],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Using `pulumi import`, import `aws_detective_organization_admin_account` using `account_id`. For example:
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:detective/organizationAdminAccount:OrganizationAdminAccount example 123456789012
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class OrganizationAdminAccount extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing OrganizationAdminAccount resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param state Any extra arguments used during the lookup.
|
|
42
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
43
|
+
*/
|
|
44
|
+
static get(name, id, state, opts) {
|
|
45
|
+
return new OrganizationAdminAccount(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of OrganizationAdminAccount. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj) {
|
|
52
|
+
if (obj === undefined || obj === null) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
return obj['__pulumiType'] === OrganizationAdminAccount.__pulumiType;
|
|
56
|
+
}
|
|
57
|
+
constructor(name, argsOrState, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
if (opts.id) {
|
|
61
|
+
const state = argsOrState;
|
|
62
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
const args = argsOrState;
|
|
66
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'accountId'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(OrganizationAdminAccount.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.OrganizationAdminAccount = OrganizationAdminAccount;
|
|
76
|
+
/** @internal */
|
|
77
|
+
OrganizationAdminAccount.__pulumiType = 'aws:detective/organizationAdminAccount:OrganizationAdminAccount';
|
|
78
|
+
//# sourceMappingURL=organizationAdminAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationAdminAccount.js","sourceRoot":"","sources":["../../detective/organizationAdminAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,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