@jjrawlins/cdk-diff-pr-github-action 0.0.1-beta → 0.0.1
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/.jsii +475 -33
- package/.mergify.yml +102 -0
- package/API.md +351 -11
- package/README.md +223 -39
- package/lib/CdkDiffIamTemplate.d.ts +3 -1
- package/lib/CdkDiffIamTemplate.js +10 -5
- package/lib/CdkDiffStackWorkflow.d.ts +2 -2
- package/lib/CdkDiffStackWorkflow.js +19 -20
- package/lib/CdkDriftDetectionWorkflow.d.ts +32 -0
- package/lib/CdkDriftDetectionWorkflow.js +281 -0
- package/lib/CdkDriftIamTemplate.d.ts +10 -0
- package/lib/CdkDriftIamTemplate.js +77 -0
- package/lib/bin/cdk-changeset-script.js +3 -3
- package/lib/bin/cdk-drift-detection-script.d.ts +15 -0
- package/lib/bin/cdk-drift-detection-script.js +196 -0
- package/lib/bin/detect-drift.js +162 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/package.json +7 -2
- package/sonar-project.properties +17 -0
- package/.junie/guidelines.md +0 -62
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/.jsii +0 -3917
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/.junie/guidelines.md +0 -62
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/.tool-versions +0 -3
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/API.md +0 -276
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/LICENSE +0 -202
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/README.md +0 -146
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/CdkDiffIamTemplate.d.ts +0 -8
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/CdkDiffIamTemplate.js +0 -96
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/CdkDiffStackWorkflow.d.ts +0 -22
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/CdkDiffStackWorkflow.js +0 -144
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/bin/cdk-changeset-script.d.ts +0 -9
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/bin/cdk-changeset-script.js +0 -256
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/bin/describe-cfn-changeset.js +0 -204
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/index.d.ts +0 -2
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/index.js +0 -19
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/package.json +0 -137
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/yalc.lock +0 -10
- package/.yalc/@jjrawlins/cdk-diff-pr-github-action/yalc.sig +0 -1
- package/lib/bin/describe-cfn-changeset.d.ts +0 -1
- package/lib/bin/describe-cfn-changeset.js +0 -204
- package/yalc.lock +0 -10
- /package/{.yalc/@jjrawlins/cdk-diff-pr-github-action/lib/bin/describe-cfn-changeset.d.ts → lib/bin/detect-drift.d.ts} +0 -0
package/.mergify.yml
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
queue_rules:
|
|
2
|
+
- name: default
|
|
3
|
+
update_method: rebase
|
|
4
|
+
update_bot_account: jjrawlins
|
|
5
|
+
queue_conditions:
|
|
6
|
+
- -label~=(do-not-merge)
|
|
7
|
+
- status-success=build
|
|
8
|
+
- status-success=package-js
|
|
9
|
+
- status-success=package-python
|
|
10
|
+
- status-success=package-go
|
|
11
|
+
- status-success=package-dotnet
|
|
12
|
+
- author=projenbuildmanager[bot]
|
|
13
|
+
merge_method: squash
|
|
14
|
+
autosquash: true
|
|
15
|
+
commit_message_template: |-
|
|
16
|
+
{{ title }} (#{{ number }})
|
|
17
|
+
|
|
18
|
+
{{ body }}
|
|
19
|
+
autoqueue: true
|
|
20
|
+
- name: Auto-merge dependency upgrade PRs Constructs
|
|
21
|
+
update_bot_account: jjrawlins
|
|
22
|
+
queue_conditions:
|
|
23
|
+
- head=github-actions/upgrade-main
|
|
24
|
+
- -label~=(do-not-merge)
|
|
25
|
+
- status-success=build
|
|
26
|
+
- status-success=package-js
|
|
27
|
+
- status-success=package-python
|
|
28
|
+
- status-success=package-go
|
|
29
|
+
- status-success=package-dotnet
|
|
30
|
+
update_method: rebase
|
|
31
|
+
merge_method: squash
|
|
32
|
+
autoqueue: true
|
|
33
|
+
- name: Auto-merge dependency upgrade PRs CDK Stacks
|
|
34
|
+
update_method: rebase
|
|
35
|
+
update_bot_account: jjrawlins
|
|
36
|
+
queue_conditions:
|
|
37
|
+
- head=github-actions/upgrade
|
|
38
|
+
- -label~=(do-not-merge)
|
|
39
|
+
- status-success=build
|
|
40
|
+
- status-success=package-js
|
|
41
|
+
- status-success=package-python
|
|
42
|
+
- status-success=package-go
|
|
43
|
+
- status-success=package-dotnet
|
|
44
|
+
autoqueue: true
|
|
45
|
+
autosquash: true
|
|
46
|
+
- name: Queue PRs with approved label
|
|
47
|
+
update_bot_account: jjrawlins
|
|
48
|
+
queue_conditions:
|
|
49
|
+
- label=approved
|
|
50
|
+
- -label~=(do-not-merge)
|
|
51
|
+
- status-success=build
|
|
52
|
+
- status-success=package-js
|
|
53
|
+
- status-success=package-python
|
|
54
|
+
- status-success=package-go
|
|
55
|
+
- status-success=package-dotnet
|
|
56
|
+
- author=jjrawlins
|
|
57
|
+
update_method: rebase
|
|
58
|
+
autoqueue: true
|
|
59
|
+
autosquash: true
|
|
60
|
+
pull_request_rules:
|
|
61
|
+
- name: Automatic merge on approval and passing checks
|
|
62
|
+
description: Rules for process pull requests
|
|
63
|
+
conditions:
|
|
64
|
+
- "#approved-reviews-by >= 1"
|
|
65
|
+
- -label~=(do-not-merge)
|
|
66
|
+
- status-success=build
|
|
67
|
+
- status-success=package-js
|
|
68
|
+
- status-success=package-python
|
|
69
|
+
- status-success=package-go
|
|
70
|
+
- status-success=package-dotnet
|
|
71
|
+
- -author=jjrawlins
|
|
72
|
+
- approved-reviews-by=jjrawlins
|
|
73
|
+
- or:
|
|
74
|
+
- label~=(do-not-merge)
|
|
75
|
+
- label=approved
|
|
76
|
+
- author=jjrawlins
|
|
77
|
+
- status-success=build
|
|
78
|
+
- status-success=package-js
|
|
79
|
+
- status-success=package-python
|
|
80
|
+
- status-success=package-go
|
|
81
|
+
- status-success=package-dotnet
|
|
82
|
+
- or:
|
|
83
|
+
- label~=(do-not-merge)
|
|
84
|
+
- author=projenbuildmanager[bot]
|
|
85
|
+
- status-success=build
|
|
86
|
+
- status-success=package-js
|
|
87
|
+
- status-success=package-python
|
|
88
|
+
- status-success=package-go
|
|
89
|
+
- status-success=package-dotnet
|
|
90
|
+
- head=github-actions/upgrade
|
|
91
|
+
- or:
|
|
92
|
+
- head=github-actions/upgrade-main
|
|
93
|
+
|
|
94
|
+
actions:
|
|
95
|
+
merge:
|
|
96
|
+
method: squash
|
|
97
|
+
delete_head_branch:
|
|
98
|
+
rebase:
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
merge_queue:
|
|
102
|
+
max_parallel_checks: 1
|
package/API.md
CHANGED
|
@@ -17,9 +17,31 @@ const cdkDiffIamTemplateProps: CdkDiffIamTemplateProps = { ... }
|
|
|
17
17
|
|
|
18
18
|
| **Name** | **Type** | **Description** |
|
|
19
19
|
| --- | --- | --- |
|
|
20
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.oidcRegion">oidcRegion</a></code> | <code>string</code> | *No description.* |
|
|
21
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.oidcRoleArn">oidcRoleArn</a></code> | <code>string</code> | *No description.* |
|
|
20
22
|
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.project">project</a></code> | <code>any</code> | *No description.* |
|
|
23
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.roleName">roleName</a></code> | <code>string</code> | *No description.* |
|
|
21
24
|
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.outputPath">outputPath</a></code> | <code>string</code> | *No description.* |
|
|
22
|
-
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
##### `oidcRegion`<sup>Required</sup> <a name="oidcRegion" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.oidcRegion"></a>
|
|
29
|
+
|
|
30
|
+
```typescript
|
|
31
|
+
public readonly oidcRegion: string;
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
- *Type:* string
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
##### `oidcRoleArn`<sup>Required</sup> <a name="oidcRoleArn" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.oidcRoleArn"></a>
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
public readonly oidcRoleArn: string;
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
- *Type:* string
|
|
23
45
|
|
|
24
46
|
---
|
|
25
47
|
|
|
@@ -33,20 +55,20 @@ public readonly project: any;
|
|
|
33
55
|
|
|
34
56
|
---
|
|
35
57
|
|
|
36
|
-
##### `
|
|
58
|
+
##### `roleName`<sup>Required</sup> <a name="roleName" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.roleName"></a>
|
|
37
59
|
|
|
38
60
|
```typescript
|
|
39
|
-
public readonly
|
|
61
|
+
public readonly roleName: string;
|
|
40
62
|
```
|
|
41
63
|
|
|
42
64
|
- *Type:* string
|
|
43
65
|
|
|
44
66
|
---
|
|
45
67
|
|
|
46
|
-
##### `
|
|
68
|
+
##### `outputPath`<sup>Optional</sup> <a name="outputPath" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplateProps.property.outputPath"></a>
|
|
47
69
|
|
|
48
70
|
```typescript
|
|
49
|
-
public readonly
|
|
71
|
+
public readonly outputPath: string;
|
|
50
72
|
```
|
|
51
73
|
|
|
52
74
|
- *Type:* string
|
|
@@ -67,28 +89,28 @@ const cdkDiffStack: CdkDiffStack = { ... }
|
|
|
67
89
|
|
|
68
90
|
| **Name** | **Type** | **Description** |
|
|
69
91
|
| --- | --- | --- |
|
|
70
|
-
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.
|
|
71
|
-
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.
|
|
92
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.changesetRoleToAssumeArn">changesetRoleToAssumeArn</a></code> | <code>string</code> | *No description.* |
|
|
93
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.changesetRoleToAssumeRegion">changesetRoleToAssumeRegion</a></code> | <code>string</code> | *No description.* |
|
|
72
94
|
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.stackName">stackName</a></code> | <code>string</code> | *No description.* |
|
|
73
95
|
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.oidcRegion">oidcRegion</a></code> | <code>string</code> | *No description.* |
|
|
74
96
|
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.oidcRoleArn">oidcRoleArn</a></code> | <code>string</code> | *No description.* |
|
|
75
97
|
|
|
76
98
|
---
|
|
77
99
|
|
|
78
|
-
##### `
|
|
100
|
+
##### `changesetRoleToAssumeArn`<sup>Required</sup> <a name="changesetRoleToAssumeArn" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.changesetRoleToAssumeArn"></a>
|
|
79
101
|
|
|
80
102
|
```typescript
|
|
81
|
-
public readonly
|
|
103
|
+
public readonly changesetRoleToAssumeArn: string;
|
|
82
104
|
```
|
|
83
105
|
|
|
84
106
|
- *Type:* string
|
|
85
107
|
|
|
86
108
|
---
|
|
87
109
|
|
|
88
|
-
##### `
|
|
110
|
+
##### `changesetRoleToAssumeRegion`<sup>Required</sup> <a name="changesetRoleToAssumeRegion" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffStack.property.changesetRoleToAssumeRegion"></a>
|
|
89
111
|
|
|
90
112
|
```typescript
|
|
91
|
-
public readonly
|
|
113
|
+
public readonly changesetRoleToAssumeRegion: string;
|
|
92
114
|
```
|
|
93
115
|
|
|
94
116
|
- *Type:* string
|
|
@@ -219,6 +241,272 @@ public readonly scriptOutputPath: string;
|
|
|
219
241
|
|
|
220
242
|
---
|
|
221
243
|
|
|
244
|
+
### CdkDriftDetectionWorkflowProps <a name="CdkDriftDetectionWorkflowProps" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps"></a>
|
|
245
|
+
|
|
246
|
+
#### Initializer <a name="Initializer" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.Initializer"></a>
|
|
247
|
+
|
|
248
|
+
```typescript
|
|
249
|
+
import { CdkDriftDetectionWorkflowProps } from '@jjrawlins/cdk-diff-pr-github-action'
|
|
250
|
+
|
|
251
|
+
const cdkDriftDetectionWorkflowProps: CdkDriftDetectionWorkflowProps = { ... }
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
255
|
+
|
|
256
|
+
| **Name** | **Type** | **Description** |
|
|
257
|
+
| --- | --- | --- |
|
|
258
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.oidcRegion">oidcRegion</a></code> | <code>string</code> | *No description.* |
|
|
259
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.oidcRoleArn">oidcRoleArn</a></code> | <code>string</code> | *No description.* |
|
|
260
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.project">project</a></code> | <code>any</code> | *No description.* |
|
|
261
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.stacks">stacks</a></code> | <code><a href="#@jjrawlins/cdk-diff-pr-github-action.Stack">Stack</a>[]</code> | *No description.* |
|
|
262
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.createIssues">createIssues</a></code> | <code>boolean</code> | *No description.* |
|
|
263
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.nodeVersion">nodeVersion</a></code> | <code>string</code> | *No description.* |
|
|
264
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.postGitHubSteps">postGitHubSteps</a></code> | <code>any</code> | Optional additional GitHub Action steps to run after drift detection for each stack. |
|
|
265
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.schedule">schedule</a></code> | <code>string</code> | *No description.* |
|
|
266
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.scriptOutputPath">scriptOutputPath</a></code> | <code>string</code> | *No description.* |
|
|
267
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.workflowName">workflowName</a></code> | <code>string</code> | *No description.* |
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
##### `oidcRegion`<sup>Required</sup> <a name="oidcRegion" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.oidcRegion"></a>
|
|
272
|
+
|
|
273
|
+
```typescript
|
|
274
|
+
public readonly oidcRegion: string;
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
- *Type:* string
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
##### `oidcRoleArn`<sup>Required</sup> <a name="oidcRoleArn" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.oidcRoleArn"></a>
|
|
282
|
+
|
|
283
|
+
```typescript
|
|
284
|
+
public readonly oidcRoleArn: string;
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
- *Type:* string
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
##### `project`<sup>Required</sup> <a name="project" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.project"></a>
|
|
292
|
+
|
|
293
|
+
```typescript
|
|
294
|
+
public readonly project: any;
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
- *Type:* any
|
|
298
|
+
|
|
299
|
+
---
|
|
300
|
+
|
|
301
|
+
##### `stacks`<sup>Required</sup> <a name="stacks" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.stacks"></a>
|
|
302
|
+
|
|
303
|
+
```typescript
|
|
304
|
+
public readonly stacks: Stack[];
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
- *Type:* <a href="#@jjrawlins/cdk-diff-pr-github-action.Stack">Stack</a>[]
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
##### `createIssues`<sup>Optional</sup> <a name="createIssues" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.createIssues"></a>
|
|
312
|
+
|
|
313
|
+
```typescript
|
|
314
|
+
public readonly createIssues: boolean;
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
- *Type:* boolean
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
##### `nodeVersion`<sup>Optional</sup> <a name="nodeVersion" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.nodeVersion"></a>
|
|
322
|
+
|
|
323
|
+
```typescript
|
|
324
|
+
public readonly nodeVersion: string;
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
- *Type:* string
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
##### `postGitHubSteps`<sup>Optional</sup> <a name="postGitHubSteps" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.postGitHubSteps"></a>
|
|
332
|
+
|
|
333
|
+
```typescript
|
|
334
|
+
public readonly postGitHubSteps: any;
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
- *Type:* any
|
|
338
|
+
|
|
339
|
+
Optional additional GitHub Action steps to run after drift detection for each stack.
|
|
340
|
+
|
|
341
|
+
These steps run after results are uploaded for each stack. You can include
|
|
342
|
+
any notifications you like (e.g., Slack). Provide explicit inputs (e.g., payload/markdown)
|
|
343
|
+
directly in your step without relying on a pre-generated payload.
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
##### `schedule`<sup>Optional</sup> <a name="schedule" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.schedule"></a>
|
|
348
|
+
|
|
349
|
+
```typescript
|
|
350
|
+
public readonly schedule: string;
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
- *Type:* string
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
##### `scriptOutputPath`<sup>Optional</sup> <a name="scriptOutputPath" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.scriptOutputPath"></a>
|
|
358
|
+
|
|
359
|
+
```typescript
|
|
360
|
+
public readonly scriptOutputPath: string;
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
- *Type:* string
|
|
364
|
+
|
|
365
|
+
---
|
|
366
|
+
|
|
367
|
+
##### `workflowName`<sup>Optional</sup> <a name="workflowName" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps.property.workflowName"></a>
|
|
368
|
+
|
|
369
|
+
```typescript
|
|
370
|
+
public readonly workflowName: string;
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
- *Type:* string
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
### CdkDriftIamTemplateProps <a name="CdkDriftIamTemplateProps" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps"></a>
|
|
378
|
+
|
|
379
|
+
#### Initializer <a name="Initializer" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.Initializer"></a>
|
|
380
|
+
|
|
381
|
+
```typescript
|
|
382
|
+
import { CdkDriftIamTemplateProps } from '@jjrawlins/cdk-diff-pr-github-action'
|
|
383
|
+
|
|
384
|
+
const cdkDriftIamTemplateProps: CdkDriftIamTemplateProps = { ... }
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
388
|
+
|
|
389
|
+
| **Name** | **Type** | **Description** |
|
|
390
|
+
| --- | --- | --- |
|
|
391
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.oidcRegion">oidcRegion</a></code> | <code>string</code> | *No description.* |
|
|
392
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.oidcRoleArn">oidcRoleArn</a></code> | <code>string</code> | *No description.* |
|
|
393
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.project">project</a></code> | <code>any</code> | *No description.* |
|
|
394
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.roleName">roleName</a></code> | <code>string</code> | *No description.* |
|
|
395
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.outputPath">outputPath</a></code> | <code>string</code> | *No description.* |
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
##### `oidcRegion`<sup>Required</sup> <a name="oidcRegion" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.oidcRegion"></a>
|
|
400
|
+
|
|
401
|
+
```typescript
|
|
402
|
+
public readonly oidcRegion: string;
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
- *Type:* string
|
|
406
|
+
|
|
407
|
+
---
|
|
408
|
+
|
|
409
|
+
##### `oidcRoleArn`<sup>Required</sup> <a name="oidcRoleArn" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.oidcRoleArn"></a>
|
|
410
|
+
|
|
411
|
+
```typescript
|
|
412
|
+
public readonly oidcRoleArn: string;
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
- *Type:* string
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
##### `project`<sup>Required</sup> <a name="project" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.project"></a>
|
|
420
|
+
|
|
421
|
+
```typescript
|
|
422
|
+
public readonly project: any;
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
- *Type:* any
|
|
426
|
+
|
|
427
|
+
---
|
|
428
|
+
|
|
429
|
+
##### `roleName`<sup>Required</sup> <a name="roleName" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.roleName"></a>
|
|
430
|
+
|
|
431
|
+
```typescript
|
|
432
|
+
public readonly roleName: string;
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
- *Type:* string
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
##### `outputPath`<sup>Optional</sup> <a name="outputPath" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps.property.outputPath"></a>
|
|
440
|
+
|
|
441
|
+
```typescript
|
|
442
|
+
public readonly outputPath: string;
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
- *Type:* string
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
### Stack <a name="Stack" id="@jjrawlins/cdk-diff-pr-github-action.Stack"></a>
|
|
450
|
+
|
|
451
|
+
#### Initializer <a name="Initializer" id="@jjrawlins/cdk-diff-pr-github-action.Stack.Initializer"></a>
|
|
452
|
+
|
|
453
|
+
```typescript
|
|
454
|
+
import { Stack } from '@jjrawlins/cdk-diff-pr-github-action'
|
|
455
|
+
|
|
456
|
+
const stack: Stack = { ... }
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
460
|
+
|
|
461
|
+
| **Name** | **Type** | **Description** |
|
|
462
|
+
| --- | --- | --- |
|
|
463
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.Stack.property.driftDetectionRoleToAssumeArn">driftDetectionRoleToAssumeArn</a></code> | <code>string</code> | *No description.* |
|
|
464
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.Stack.property.driftDetectionRoleToAssumeRegion">driftDetectionRoleToAssumeRegion</a></code> | <code>string</code> | *No description.* |
|
|
465
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.Stack.property.stackName">stackName</a></code> | <code>string</code> | *No description.* |
|
|
466
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.Stack.property.failOnDrift">failOnDrift</a></code> | <code>boolean</code> | *No description.* |
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
##### `driftDetectionRoleToAssumeArn`<sup>Required</sup> <a name="driftDetectionRoleToAssumeArn" id="@jjrawlins/cdk-diff-pr-github-action.Stack.property.driftDetectionRoleToAssumeArn"></a>
|
|
471
|
+
|
|
472
|
+
```typescript
|
|
473
|
+
public readonly driftDetectionRoleToAssumeArn: string;
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
- *Type:* string
|
|
477
|
+
|
|
478
|
+
---
|
|
479
|
+
|
|
480
|
+
##### `driftDetectionRoleToAssumeRegion`<sup>Required</sup> <a name="driftDetectionRoleToAssumeRegion" id="@jjrawlins/cdk-diff-pr-github-action.Stack.property.driftDetectionRoleToAssumeRegion"></a>
|
|
481
|
+
|
|
482
|
+
```typescript
|
|
483
|
+
public readonly driftDetectionRoleToAssumeRegion: string;
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
- *Type:* string
|
|
487
|
+
|
|
488
|
+
---
|
|
489
|
+
|
|
490
|
+
##### `stackName`<sup>Required</sup> <a name="stackName" id="@jjrawlins/cdk-diff-pr-github-action.Stack.property.stackName"></a>
|
|
491
|
+
|
|
492
|
+
```typescript
|
|
493
|
+
public readonly stackName: string;
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
- *Type:* string
|
|
497
|
+
|
|
498
|
+
---
|
|
499
|
+
|
|
500
|
+
##### `failOnDrift`<sup>Optional</sup> <a name="failOnDrift" id="@jjrawlins/cdk-diff-pr-github-action.Stack.property.failOnDrift"></a>
|
|
501
|
+
|
|
502
|
+
```typescript
|
|
503
|
+
public readonly failOnDrift: boolean;
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
- *Type:* boolean
|
|
507
|
+
|
|
508
|
+
---
|
|
509
|
+
|
|
222
510
|
## Classes <a name="Classes" id="Classes"></a>
|
|
223
511
|
|
|
224
512
|
### CdkDiffIamTemplate <a name="CdkDiffIamTemplate" id="@jjrawlins/cdk-diff-pr-github-action.CdkDiffIamTemplate"></a>
|
|
@@ -273,4 +561,56 @@ new CdkDiffStackWorkflow(props: CdkDiffStackWorkflowProps)
|
|
|
273
561
|
|
|
274
562
|
|
|
275
563
|
|
|
564
|
+
### CdkDriftDetectionWorkflow <a name="CdkDriftDetectionWorkflow" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflow"></a>
|
|
565
|
+
|
|
566
|
+
#### Initializers <a name="Initializers" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflow.Initializer"></a>
|
|
567
|
+
|
|
568
|
+
```typescript
|
|
569
|
+
import { CdkDriftDetectionWorkflow } from '@jjrawlins/cdk-diff-pr-github-action'
|
|
570
|
+
|
|
571
|
+
new CdkDriftDetectionWorkflow(props: CdkDriftDetectionWorkflowProps)
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
| **Name** | **Type** | **Description** |
|
|
575
|
+
| --- | --- | --- |
|
|
576
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflow.Initializer.parameter.props">props</a></code> | <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps">CdkDriftDetectionWorkflowProps</a></code> | *No description.* |
|
|
577
|
+
|
|
578
|
+
---
|
|
579
|
+
|
|
580
|
+
##### `props`<sup>Required</sup> <a name="props" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflow.Initializer.parameter.props"></a>
|
|
581
|
+
|
|
582
|
+
- *Type:* <a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftDetectionWorkflowProps">CdkDriftDetectionWorkflowProps</a>
|
|
583
|
+
|
|
584
|
+
---
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
### CdkDriftIamTemplate <a name="CdkDriftIamTemplate" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplate"></a>
|
|
591
|
+
|
|
592
|
+
#### Initializers <a name="Initializers" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplate.Initializer"></a>
|
|
593
|
+
|
|
594
|
+
```typescript
|
|
595
|
+
import { CdkDriftIamTemplate } from '@jjrawlins/cdk-diff-pr-github-action'
|
|
596
|
+
|
|
597
|
+
new CdkDriftIamTemplate(props: CdkDriftIamTemplateProps)
|
|
598
|
+
```
|
|
599
|
+
|
|
600
|
+
| **Name** | **Type** | **Description** |
|
|
601
|
+
| --- | --- | --- |
|
|
602
|
+
| <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplate.Initializer.parameter.props">props</a></code> | <code><a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps">CdkDriftIamTemplateProps</a></code> | *No description.* |
|
|
603
|
+
|
|
604
|
+
---
|
|
605
|
+
|
|
606
|
+
##### `props`<sup>Required</sup> <a name="props" id="@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplate.Initializer.parameter.props"></a>
|
|
607
|
+
|
|
608
|
+
- *Type:* <a href="#@jjrawlins/cdk-diff-pr-github-action.CdkDriftIamTemplateProps">CdkDriftIamTemplateProps</a>
|
|
609
|
+
|
|
610
|
+
---
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
|
|
276
616
|
|