@cdk8s/awscdk-resolver 0.0.741 → 0.0.743
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 +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +12 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/schemas/schemas_0.js +11 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackSetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +96 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
- package/package.json +4 -4
package/.jsii
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://aws.amazon.com"
|
|
8
8
|
},
|
|
9
9
|
"bundled": {
|
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.1173.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"aws-cdk-lib": "^2.195.0",
|
|
@@ -4083,6 +4083,6 @@
|
|
|
4083
4083
|
"symbolId": "src/resolve:AwsCdkResolver"
|
|
4084
4084
|
}
|
|
4085
4085
|
},
|
|
4086
|
-
"version": "0.0.
|
|
4087
|
-
"fingerprint": "
|
|
4086
|
+
"version": "0.0.743",
|
|
4087
|
+
"fingerprint": "VtopKgMzYcAzhMWRJqlpuRR4Pa41asDN9T2s/5ee1/0="
|
|
4088
4088
|
}
|
package/lib/resolve.js
CHANGED
|
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
|
|
|
39
39
|
const path = __importStar(require("path"));
|
|
40
40
|
const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
41
41
|
class AwsCdkResolver {
|
|
42
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
|
42
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.743" };
|
|
43
43
|
resolve(context) {
|
|
44
44
|
if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
|
|
45
45
|
return;
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1172.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -816,6 +816,8 @@ const _EN = "ExportName";
|
|
|
816
816
|
const _EP = "ExpectedProperties";
|
|
817
817
|
const _ERA = "ExecutionRoleArn";
|
|
818
818
|
const _ERN = "ExecutionRoleName";
|
|
819
|
+
const _ERTB = "ExecutionRoleTemplateBody";
|
|
820
|
+
const _ERTU = "ExecutionRoleTemplateUrl";
|
|
819
821
|
const _ES = "ExecutionStatus";
|
|
820
822
|
const _ESC = "EnableStackCreation";
|
|
821
823
|
const _ESF = "ExecutionStatusFilter";
|
|
@@ -1235,6 +1237,8 @@ const _SSN = "StackSetName";
|
|
|
1235
1237
|
const _SSNEE = "StackSetNotEmptyException";
|
|
1236
1238
|
const _SSNFE = "StackSetNotFoundException";
|
|
1237
1239
|
const _SSO = "StackSetOperation";
|
|
1240
|
+
const _SSOB = "StackSetOutputBucket";
|
|
1241
|
+
const _SSOBP = "StackSetOutputBucketPath";
|
|
1238
1242
|
const _SSOP = "StackSetOperationPreferences";
|
|
1239
1243
|
const _SSORS = "StackSetOperationResultSummary";
|
|
1240
1244
|
const _SSORSt = "StackSetOperationResultSummaries";
|
|
@@ -1328,6 +1332,7 @@ const _Tar = "Target";
|
|
|
1328
1332
|
const _Ti = "Timestamp";
|
|
1329
1333
|
const _Ty = "Types";
|
|
1330
1334
|
const _U = "Url";
|
|
1335
|
+
const _UAER = "UseAdminExecutionRole";
|
|
1331
1336
|
const _UGT = "UpdateGeneratedTemplate";
|
|
1332
1337
|
const _UGTI = "UpdateGeneratedTemplateInput";
|
|
1333
1338
|
const _UGTO = "UpdateGeneratedTemplateOutput";
|
|
@@ -1704,8 +1709,8 @@ var CreateStackRefactorOutput$ = [3, n0, _CSRO,
|
|
|
1704
1709
|
];
|
|
1705
1710
|
var CreateStackSetInput$ = [3, n0, _CSSI,
|
|
1706
1711
|
0,
|
|
1707
|
-
[_SSN, _D, _TB, _TURL, _SI, _P, _Ca, _Ta, _ARARN, _ERN, _PM, _AD, _CA, _CRT, _ME],
|
|
1708
|
-
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => AutoDeployment$, 0, [0, 4], () => ManagedExecution
|
|
1712
|
+
[_SSN, _D, _TB, _TURL, _SI, _P, _Ca, _Ta, _ARARN, _ERN, _PM, _AD, _CA, _CRT, _ME, _ERTB, _ERTU, _SSOB],
|
|
1713
|
+
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => AutoDeployment$, 0, [0, 4], () => ManagedExecution$, 0, 0, 0], 1
|
|
1709
1714
|
];
|
|
1710
1715
|
var CreateStackSetOutput$ = [3, n0, _CSSO,
|
|
1711
1716
|
0,
|
|
@@ -2694,8 +2699,8 @@ var StackResourceSummary$ = [3, n0, _SRStac,
|
|
|
2694
2699
|
];
|
|
2695
2700
|
var StackSet$ = [3, n0, _SS,
|
|
2696
2701
|
0,
|
|
2697
|
-
[_SSN, _SSI, _D, _S, _TB, _P, _Ca, _Ta, _SSARN, _ARARN, _ERN, _SSDDD, _AD, _PM, _OUI, _ME, _Re],
|
|
2698
|
-
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => StackSetDriftDetectionDetails$, () => AutoDeployment$, 0, 64 | 0, () => ManagedExecution$, 64 | 0]
|
|
2702
|
+
[_SSN, _SSI, _D, _S, _TB, _P, _Ca, _Ta, _SSARN, _ARARN, _ERN, _SSDDD, _AD, _PM, _OUI, _ME, _Re, _SSOBP],
|
|
2703
|
+
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => StackSetDriftDetectionDetails$, () => AutoDeployment$, 0, 64 | 0, () => ManagedExecution$, 64 | 0, 0]
|
|
2699
2704
|
];
|
|
2700
2705
|
var StackSetAutoDeploymentTargetSummary$ = [3, n0, _SSADTS,
|
|
2701
2706
|
0,
|
|
@@ -2864,8 +2869,8 @@ var UpdateStackOutput$ = [3, n0, _USO,
|
|
|
2864
2869
|
];
|
|
2865
2870
|
var UpdateStackSetInput$ = [3, n0, _USSI,
|
|
2866
2871
|
0,
|
|
2867
|
-
[_SSN, _D, _TB, _TURL, _UPT, _P, _Ca, _Ta, _OP, _ARARN, _ERN, _DT, _PM, _AD, _OI, _Ac, _Re, _CA, _ME],
|
|
2868
|
-
[0, 0, 0, 0, 2, () => _Parameters, 64 | 0, () => Tags, () => StackSetOperationPreferences$, 0, 0, () => DeploymentTargets$, 0, () => AutoDeployment$, [0, 4], 64 | 0, 64 | 0, 0, () => ManagedExecution
|
|
2872
|
+
[_SSN, _D, _TB, _TURL, _UPT, _P, _Ca, _Ta, _OP, _ARARN, _ERN, _DT, _PM, _AD, _OI, _Ac, _Re, _CA, _ME, _ERTB, _ERTU, _UAER, _SSOB],
|
|
2873
|
+
[0, 0, 0, 0, 2, () => _Parameters, 64 | 0, () => Tags, () => StackSetOperationPreferences$, 0, 0, () => DeploymentTargets$, 0, () => AutoDeployment$, [0, 4], 64 | 0, 64 | 0, 0, () => ManagedExecution$, 0, 0, 2, 0], 1
|
|
2869
2874
|
];
|
|
2870
2875
|
var UpdateStackSetOutput$ = [3, n0, _USSO,
|
|
2871
2876
|
0,
|
|
@@ -236,6 +236,8 @@ const _EN = "ExportName";
|
|
|
236
236
|
const _EP = "ExpectedProperties";
|
|
237
237
|
const _ERA = "ExecutionRoleArn";
|
|
238
238
|
const _ERN = "ExecutionRoleName";
|
|
239
|
+
const _ERTB = "ExecutionRoleTemplateBody";
|
|
240
|
+
const _ERTU = "ExecutionRoleTemplateUrl";
|
|
239
241
|
const _ES = "ExecutionStatus";
|
|
240
242
|
const _ESC = "EnableStackCreation";
|
|
241
243
|
const _ESF = "ExecutionStatusFilter";
|
|
@@ -655,6 +657,8 @@ const _SSN = "StackSetName";
|
|
|
655
657
|
const _SSNEE = "StackSetNotEmptyException";
|
|
656
658
|
const _SSNFE = "StackSetNotFoundException";
|
|
657
659
|
const _SSO = "StackSetOperation";
|
|
660
|
+
const _SSOB = "StackSetOutputBucket";
|
|
661
|
+
const _SSOBP = "StackSetOutputBucketPath";
|
|
658
662
|
const _SSOP = "StackSetOperationPreferences";
|
|
659
663
|
const _SSORS = "StackSetOperationResultSummary";
|
|
660
664
|
const _SSORSt = "StackSetOperationResultSummaries";
|
|
@@ -748,6 +752,7 @@ const _Tar = "Target";
|
|
|
748
752
|
const _Ti = "Timestamp";
|
|
749
753
|
const _Ty = "Types";
|
|
750
754
|
const _U = "Url";
|
|
755
|
+
const _UAER = "UseAdminExecutionRole";
|
|
751
756
|
const _UGT = "UpdateGeneratedTemplate";
|
|
752
757
|
const _UGTI = "UpdateGeneratedTemplateInput";
|
|
753
758
|
const _UGTO = "UpdateGeneratedTemplateOutput";
|
|
@@ -1127,8 +1132,8 @@ export var CreateStackRefactorOutput$ = [3, n0, _CSRO,
|
|
|
1127
1132
|
];
|
|
1128
1133
|
export var CreateStackSetInput$ = [3, n0, _CSSI,
|
|
1129
1134
|
0,
|
|
1130
|
-
[_SSN, _D, _TB, _TURL, _SI, _P, _Ca, _Ta, _ARARN, _ERN, _PM, _AD, _CA, _CRT, _ME],
|
|
1131
|
-
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => AutoDeployment$, 0, [0, 4], () => ManagedExecution
|
|
1135
|
+
[_SSN, _D, _TB, _TURL, _SI, _P, _Ca, _Ta, _ARARN, _ERN, _PM, _AD, _CA, _CRT, _ME, _ERTB, _ERTU, _SSOB],
|
|
1136
|
+
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => AutoDeployment$, 0, [0, 4], () => ManagedExecution$, 0, 0, 0], 1
|
|
1132
1137
|
];
|
|
1133
1138
|
export var CreateStackSetOutput$ = [3, n0, _CSSO,
|
|
1134
1139
|
0,
|
|
@@ -2117,8 +2122,8 @@ export var StackResourceSummary$ = [3, n0, _SRStac,
|
|
|
2117
2122
|
];
|
|
2118
2123
|
export var StackSet$ = [3, n0, _SS,
|
|
2119
2124
|
0,
|
|
2120
|
-
[_SSN, _SSI, _D, _S, _TB, _P, _Ca, _Ta, _SSARN, _ARARN, _ERN, _SSDDD, _AD, _PM, _OUI, _ME, _Re],
|
|
2121
|
-
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => StackSetDriftDetectionDetails$, () => AutoDeployment$, 0, 64 | 0, () => ManagedExecution$, 64 | 0]
|
|
2125
|
+
[_SSN, _SSI, _D, _S, _TB, _P, _Ca, _Ta, _SSARN, _ARARN, _ERN, _SSDDD, _AD, _PM, _OUI, _ME, _Re, _SSOBP],
|
|
2126
|
+
[0, 0, 0, 0, 0, () => _Parameters, 64 | 0, () => Tags, 0, 0, 0, () => StackSetDriftDetectionDetails$, () => AutoDeployment$, 0, 64 | 0, () => ManagedExecution$, 64 | 0, 0]
|
|
2122
2127
|
];
|
|
2123
2128
|
export var StackSetAutoDeploymentTargetSummary$ = [3, n0, _SSADTS,
|
|
2124
2129
|
0,
|
|
@@ -2287,8 +2292,8 @@ export var UpdateStackOutput$ = [3, n0, _USO,
|
|
|
2287
2292
|
];
|
|
2288
2293
|
export var UpdateStackSetInput$ = [3, n0, _USSI,
|
|
2289
2294
|
0,
|
|
2290
|
-
[_SSN, _D, _TB, _TURL, _UPT, _P, _Ca, _Ta, _OP, _ARARN, _ERN, _DT, _PM, _AD, _OI, _Ac, _Re, _CA, _ME],
|
|
2291
|
-
[0, 0, 0, 0, 2, () => _Parameters, 64 | 0, () => Tags, () => StackSetOperationPreferences$, 0, 0, () => DeploymentTargets$, 0, () => AutoDeployment$, [0, 4], 64 | 0, 64 | 0, 0, () => ManagedExecution
|
|
2295
|
+
[_SSN, _D, _TB, _TURL, _UPT, _P, _Ca, _Ta, _OP, _ARARN, _ERN, _DT, _PM, _AD, _OI, _Ac, _Re, _CA, _ME, _ERTB, _ERTU, _UAER, _SSOB],
|
|
2296
|
+
[0, 0, 0, 0, 2, () => _Parameters, 64 | 0, () => Tags, () => StackSetOperationPreferences$, 0, 0, () => DeploymentTargets$, 0, () => AutoDeployment$, [0, 4], 64 | 0, 64 | 0, 0, () => ManagedExecution$, 0, 0, 2, 0], 1
|
|
2292
2297
|
];
|
|
2293
2298
|
export var UpdateStackSetOutput$ = [3, n0, _USSO,
|
|
2294
2299
|
0,
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackSetCommand.d.ts
CHANGED
|
@@ -71,6 +71,9 @@ declare const CreateStackSetCommand_base: {
|
|
|
71
71
|
* ManagedExecution: { // ManagedExecution
|
|
72
72
|
* Active: true || false,
|
|
73
73
|
* },
|
|
74
|
+
* ExecutionRoleTemplateBody: "STRING_VALUE",
|
|
75
|
+
* ExecutionRoleTemplateUrl: "STRING_VALUE",
|
|
76
|
+
* StackSetOutputBucket: "STRING_VALUE",
|
|
74
77
|
* };
|
|
75
78
|
* const command = new CreateStackSetCommand(input);
|
|
76
79
|
* const response = await client.send(command);
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/UpdateStackSetCommand.d.ts
CHANGED
|
@@ -121,6 +121,10 @@ declare const UpdateStackSetCommand_base: {
|
|
|
121
121
|
* ManagedExecution: { // ManagedExecution
|
|
122
122
|
* Active: true || false,
|
|
123
123
|
* },
|
|
124
|
+
* ExecutionRoleTemplateBody: "STRING_VALUE",
|
|
125
|
+
* ExecutionRoleTemplateUrl: "STRING_VALUE",
|
|
126
|
+
* UseAdminExecutionRole: true || false,
|
|
127
|
+
* StackSetOutputBucket: "STRING_VALUE",
|
|
124
128
|
* };
|
|
125
129
|
* const command = new UpdateStackSetCommand(input);
|
|
126
130
|
* const response = await client.send(command);
|
|
@@ -2712,10 +2712,17 @@ export interface CreateStackSetInput {
|
|
|
2712
2712
|
* acknowledge this capability. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Perform custom processing
|
|
2713
2713
|
* on CloudFormation templates with template macros</a>.</p>
|
|
2714
2714
|
* <important>
|
|
2715
|
-
* <p>
|
|
2716
|
-
* in
|
|
2717
|
-
*
|
|
2718
|
-
*
|
|
2715
|
+
* <p>With service-managed permissions, CloudFormation can process macros, nested stacks, and
|
|
2716
|
+
* transforms in your StackSet template only when you provide a custom execution role
|
|
2717
|
+
* template. (Macros include the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) The
|
|
2718
|
+
* default service-managed execution role can't provision them: if you reference a macro
|
|
2719
|
+
* in your template, the StackSet operation fails even when you specify this
|
|
2720
|
+
* capability.</p>
|
|
2721
|
+
* <p>To use macros, nested stacks, or transforms with service-managed permissions,
|
|
2722
|
+
* specify a custom execution role template in
|
|
2723
|
+
* <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>, and
|
|
2724
|
+
* specify both <code>CAPABILITY_NAMED_IAM</code> and
|
|
2725
|
+
* <code>CAPABILITY_AUTO_EXPAND</code>.</p>
|
|
2719
2726
|
* </important>
|
|
2720
2727
|
* </li>
|
|
2721
2728
|
* </ul>
|
|
@@ -2744,12 +2751,16 @@ export interface CreateStackSetInput {
|
|
|
2744
2751
|
*/
|
|
2745
2752
|
AdministrationRoleARN?: string | undefined;
|
|
2746
2753
|
/**
|
|
2747
|
-
* <p>The name of the IAM execution role
|
|
2748
|
-
*
|
|
2749
|
-
*
|
|
2750
|
-
*
|
|
2751
|
-
*
|
|
2752
|
-
*
|
|
2754
|
+
* <p>The name of the IAM execution role that CloudFormation uses for StackSet operations in your
|
|
2755
|
+
* target accounts.</p>
|
|
2756
|
+
* <p>[Self-managed permissions] If you do not specify an execution role, CloudFormation uses the
|
|
2757
|
+
* <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation. Specify
|
|
2758
|
+
* an IAM role only if you are using customized execution roles to control which stack
|
|
2759
|
+
* resources users and groups can include in their StackSets.</p>
|
|
2760
|
+
* <p>[Service-managed permissions] Set this name when you use custom execution roles. The role
|
|
2761
|
+
* that your custom execution role template provisions in your target accounts must have this
|
|
2762
|
+
* same name, and the name must begin with
|
|
2763
|
+
* <code>stacksets-exec-custom-</code>.</p>
|
|
2753
2764
|
* @public
|
|
2754
2765
|
*/
|
|
2755
2766
|
ExecutionRoleName?: string | undefined;
|
|
@@ -2817,6 +2828,27 @@ export interface CreateStackSetInput {
|
|
|
2817
2828
|
* @public
|
|
2818
2829
|
*/
|
|
2819
2830
|
ManagedExecution?: ManagedExecution | undefined;
|
|
2831
|
+
/**
|
|
2832
|
+
* <p>The body of the template that creates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
|
|
2833
|
+
* <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
|
|
2834
|
+
* <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
|
|
2835
|
+
* uses the default service-managed execution role in target accounts.</p>
|
|
2836
|
+
* @public
|
|
2837
|
+
*/
|
|
2838
|
+
ExecutionRoleTemplateBody?: string | undefined;
|
|
2839
|
+
/**
|
|
2840
|
+
* <p>The URL of an Amazon S3 object that contains the template that creates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
|
|
2841
|
+
* <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
|
|
2842
|
+
* <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
|
|
2843
|
+
* uses the default service-managed execution role in target accounts.</p>
|
|
2844
|
+
* @public
|
|
2845
|
+
*/
|
|
2846
|
+
ExecutionRoleTemplateUrl?: string | undefined;
|
|
2847
|
+
/**
|
|
2848
|
+
* <p>The name of the Amazon S3 bucket that stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
|
|
2849
|
+
* @public
|
|
2850
|
+
*/
|
|
2851
|
+
StackSetOutputBucket?: string | undefined;
|
|
2820
2852
|
}
|
|
2821
2853
|
/**
|
|
2822
2854
|
* @public
|
|
@@ -5867,6 +5899,11 @@ export interface StackSet {
|
|
|
5867
5899
|
* @public
|
|
5868
5900
|
*/
|
|
5869
5901
|
Regions?: string[] | undefined;
|
|
5902
|
+
/**
|
|
5903
|
+
* <p>The Amazon S3 bucket path where CloudFormation stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
|
|
5904
|
+
* @public
|
|
5905
|
+
*/
|
|
5906
|
+
StackSetOutputBucketPath?: string | undefined;
|
|
5870
5907
|
}
|
|
5871
5908
|
/**
|
|
5872
5909
|
* @public
|
|
@@ -11506,10 +11543,17 @@ export interface UpdateStackSetInput {
|
|
|
11506
11543
|
* acknowledge this capability. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html">Perform custom processing
|
|
11507
11544
|
* on CloudFormation templates with template macros</a>.</p>
|
|
11508
11545
|
* <important>
|
|
11509
|
-
* <p>
|
|
11510
|
-
*
|
|
11511
|
-
*
|
|
11512
|
-
*
|
|
11546
|
+
* <p>With service-managed permissions, CloudFormation can process macros, nested stacks, and
|
|
11547
|
+
* transforms in your StackSet template only when you provide a custom execution role
|
|
11548
|
+
* template. (Macros include the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html">AWS::Include</a> and <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html">AWS::Serverless</a> transforms, which are macros hosted by CloudFormation.) The
|
|
11549
|
+
* default service-managed execution role can't provision them: if you reference a macro
|
|
11550
|
+
* in your template, the StackSet operation fails even when you specify this
|
|
11551
|
+
* capability.</p>
|
|
11552
|
+
* <p>To use macros, nested stacks, or transforms with service-managed permissions,
|
|
11553
|
+
* specify a custom execution role template in
|
|
11554
|
+
* <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>, and
|
|
11555
|
+
* specify both <code>CAPABILITY_NAMED_IAM</code> and
|
|
11556
|
+
* <code>CAPABILITY_AUTO_EXPAND</code>.</p>
|
|
11513
11557
|
* </important>
|
|
11514
11558
|
* </li>
|
|
11515
11559
|
* </ul>
|
|
@@ -11568,15 +11612,22 @@ export interface UpdateStackSetInput {
|
|
|
11568
11612
|
*/
|
|
11569
11613
|
AdministrationRoleARN?: string | undefined;
|
|
11570
11614
|
/**
|
|
11571
|
-
* <p>
|
|
11615
|
+
* <p>The name of the IAM execution role that CloudFormation uses for StackSet operations in your
|
|
11616
|
+
* target accounts.</p>
|
|
11617
|
+
* <p>[Self-managed permissions] The name of the IAM execution role to use to update the stack
|
|
11572
11618
|
* set. If you do not specify an execution role, CloudFormation uses the
|
|
11573
|
-
* <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation
|
|
11574
|
-
*
|
|
11575
|
-
*
|
|
11619
|
+
* <code>AWSCloudFormationStackSetExecutionRole</code> role for the StackSet operation. Specify
|
|
11620
|
+
* an IAM role only if you are using customized execution roles to control which stack
|
|
11621
|
+
* resources users and groups can include in their StackSets.</p>
|
|
11576
11622
|
* <p>If you specify a customized execution role, CloudFormation uses that role to update the stack.
|
|
11577
11623
|
* If you do not specify a customized execution role, CloudFormation performs the update using the
|
|
11578
11624
|
* role previously associated with the StackSet, so long as you have permissions to perform
|
|
11579
11625
|
* operations on the StackSet.</p>
|
|
11626
|
+
* <p>[Service-managed permissions] Set this name when you use custom execution roles. The role
|
|
11627
|
+
* that your custom execution role template provisions in your target accounts must have this
|
|
11628
|
+
* same name, and the name must begin with
|
|
11629
|
+
* <code>stacksets-exec-custom-</code>. You don't need to specify this parameter if an
|
|
11630
|
+
* execution role name is already configured for the StackSet and you aren't changing it.</p>
|
|
11580
11631
|
* @public
|
|
11581
11632
|
*/
|
|
11582
11633
|
ExecutionRoleName?: string | undefined;
|
|
@@ -11694,6 +11745,33 @@ export interface UpdateStackSetInput {
|
|
|
11694
11745
|
* @public
|
|
11695
11746
|
*/
|
|
11696
11747
|
ManagedExecution?: ManagedExecution | undefined;
|
|
11748
|
+
/**
|
|
11749
|
+
* <p>The body of the template that creates or updates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
|
|
11750
|
+
* <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
|
|
11751
|
+
* <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
|
|
11752
|
+
* uses the default service-managed execution role in target accounts.</p>
|
|
11753
|
+
* @public
|
|
11754
|
+
*/
|
|
11755
|
+
ExecutionRoleTemplateBody?: string | undefined;
|
|
11756
|
+
/**
|
|
11757
|
+
* <p>The URL of an Amazon S3 object that contains the template that creates or updates a custom execution role in target accounts. This parameter applies only when the permissions model is <code>SERVICE_MANAGED</code>.</p>
|
|
11758
|
+
* <p>Conditional: Specify either <code>ExecutionRoleTemplateBody</code> or
|
|
11759
|
+
* <code>ExecutionRoleTemplateUrl</code>, but not both. If you don't specify either, CloudFormation
|
|
11760
|
+
* uses the default service-managed execution role in target accounts.</p>
|
|
11761
|
+
* @public
|
|
11762
|
+
*/
|
|
11763
|
+
ExecutionRoleTemplateUrl?: string | undefined;
|
|
11764
|
+
/**
|
|
11765
|
+
* <p>Specifies whether CloudFormation uses the default service-managed execution role instead of a custom execution role in target accounts.
|
|
11766
|
+
* If you set this to <code>true</code>, CloudFormation ignores any custom execution role template specified in <code>ExecutionRoleTemplateBody</code> or <code>ExecutionRoleTemplateUrl</code>.</p>
|
|
11767
|
+
* @public
|
|
11768
|
+
*/
|
|
11769
|
+
UseAdminExecutionRole?: boolean | undefined;
|
|
11770
|
+
/**
|
|
11771
|
+
* <p>The name of the Amazon S3 bucket that stores the execution role stack template body. CloudFormation uses this bucket only when you specify a custom execution role template.</p>
|
|
11772
|
+
* @public
|
|
11773
|
+
*/
|
|
11774
|
+
StackSetOutputBucket?: string | undefined;
|
|
11697
11775
|
}
|
|
11698
11776
|
/**
|
|
11699
11777
|
* @public
|
|
@@ -423,6 +423,9 @@ export interface CreateStackSetInput {
|
|
|
423
423
|
CallAs?: CallAs | undefined;
|
|
424
424
|
ClientRequestToken?: string | undefined;
|
|
425
425
|
ManagedExecution?: ManagedExecution | undefined;
|
|
426
|
+
ExecutionRoleTemplateBody?: string | undefined;
|
|
427
|
+
ExecutionRoleTemplateUrl?: string | undefined;
|
|
428
|
+
StackSetOutputBucket?: string | undefined;
|
|
426
429
|
}
|
|
427
430
|
export interface CreateStackSetOutput {
|
|
428
431
|
StackSetId?: string | undefined;
|
|
@@ -888,6 +891,7 @@ export interface StackSet {
|
|
|
888
891
|
OrganizationalUnitIds?: string[] | undefined;
|
|
889
892
|
ManagedExecution?: ManagedExecution | undefined;
|
|
890
893
|
Regions?: string[] | undefined;
|
|
894
|
+
StackSetOutputBucketPath?: string | undefined;
|
|
891
895
|
}
|
|
892
896
|
export interface DescribeStackSetOutput {
|
|
893
897
|
StackSet?: StackSet | undefined;
|
|
@@ -1743,6 +1747,10 @@ export interface UpdateStackSetInput {
|
|
|
1743
1747
|
Regions?: string[] | undefined;
|
|
1744
1748
|
CallAs?: CallAs | undefined;
|
|
1745
1749
|
ManagedExecution?: ManagedExecution | undefined;
|
|
1750
|
+
ExecutionRoleTemplateBody?: string | undefined;
|
|
1751
|
+
ExecutionRoleTemplateUrl?: string | undefined;
|
|
1752
|
+
UseAdminExecutionRole?: boolean | undefined;
|
|
1753
|
+
StackSetOutputBucket?: string | undefined;
|
|
1746
1754
|
}
|
|
1747
1755
|
export interface UpdateStackSetOutput {
|
|
1748
1756
|
OperationId?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
|
|
6
6
|
"license": "Apache-2.0",
|
package/package.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/node": "^18",
|
|
51
51
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
52
52
|
"@typescript-eslint/parser": "^8",
|
|
53
|
-
"aws-cdk": "^2.
|
|
53
|
+
"aws-cdk": "^2.1149.0",
|
|
54
54
|
"aws-cdk-lib": "2.195.0",
|
|
55
55
|
"cdk8s": "2.68.91",
|
|
56
56
|
"cdk8s-cli": "^2.207.87",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"jsii-docgen": "^10.5.0",
|
|
68
68
|
"jsii-pacmak": "^1.143.0",
|
|
69
69
|
"jsii-rosetta": "^5",
|
|
70
|
-
"projen": "^0.105.
|
|
70
|
+
"projen": "^0.105.6",
|
|
71
71
|
"ts-jest": "^27",
|
|
72
72
|
"ts-node": "^10.9.2",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"constructs": "^10.3.0"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
+
"@aws-sdk/client-cloudformation": "^3.1173.0"
|
|
82
82
|
},
|
|
83
83
|
"bundledDependencies": [
|
|
84
84
|
"@aws-sdk/client-cloudformation"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"access": "public"
|
|
94
94
|
},
|
|
95
|
-
"version": "0.0.
|
|
95
|
+
"version": "0.0.743",
|
|
96
96
|
"jest": {
|
|
97
97
|
"coverageProvider": "v8",
|
|
98
98
|
"testMatch": [
|