@cdk8s/awscdk-resolver 0.0.34 → 0.0.35

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 CHANGED
@@ -3585,7 +3585,7 @@
3585
3585
  "stability": "stable"
3586
3586
  },
3587
3587
  "homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
3588
- "jsiiVersion": "5.2.29 (build 150a287)",
3588
+ "jsiiVersion": "5.2.32 (build fc5cc5c)",
3589
3589
  "license": "Apache-2.0",
3590
3590
  "metadata": {
3591
3591
  "jsii": {
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.34",
3678
- "fingerprint": "PNlRxyyTXX2pzpY5PWjkJQz/+WaBdCbZ3fivVFSH+t8="
3677
+ "version": "0.0.35",
3678
+ "fingerprint": "CWzQ0C4dAOShWFrI3S86WsXjGRKHNjB21ABCndEklFc="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.34" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.35" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQU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wdXQgZGVmaW5lZCBmb3IgJHt2YWx1ZX0gKEluc3BlY3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -3551,6 +3551,9 @@ const se_CreateChangeSetInput = (input, context) => {
3551
3551
  if (input.OnStackFailure != null) {
3552
3552
  entries["OnStackFailure"] = input.OnStackFailure;
3553
3553
  }
3554
+ if (input.ImportExistingResources != null) {
3555
+ entries["ImportExistingResources"] = input.ImportExistingResources;
3556
+ }
3554
3557
  return entries;
3555
3558
  };
3556
3559
  const se_CreateStackInput = (input, context) => {
@@ -5726,6 +5729,9 @@ const de_ChangeSetSummary = (output, context) => {
5726
5729
  if (output["RootChangeSetId"] !== undefined) {
5727
5730
  contents.RootChangeSetId = (0, smithy_client_1.expectString)(output["RootChangeSetId"]);
5728
5731
  }
5732
+ if (output["ImportExistingResources"] !== undefined) {
5733
+ contents.ImportExistingResources = (0, smithy_client_1.parseBoolean)(output["ImportExistingResources"]);
5734
+ }
5729
5735
  return contents;
5730
5736
  };
5731
5737
  const de_ContinueUpdateRollbackOutput = (output, context) => {
@@ -5937,6 +5943,9 @@ const de_DescribeChangeSetOutput = (output, context) => {
5937
5943
  if (output["OnStackFailure"] !== undefined) {
5938
5944
  contents.OnStackFailure = (0, smithy_client_1.expectString)(output["OnStackFailure"]);
5939
5945
  }
5946
+ if (output["ImportExistingResources"] !== undefined) {
5947
+ contents.ImportExistingResources = (0, smithy_client_1.parseBoolean)(output["ImportExistingResources"]);
5948
+ }
5940
5949
  return contents;
5941
5950
  };
5942
5951
  const de_DescribeOrganizationsAccessOutput = (output, context) => {
@@ -3406,6 +3406,9 @@ const se_CreateChangeSetInput = (input, context) => {
3406
3406
  if (input.OnStackFailure != null) {
3407
3407
  entries["OnStackFailure"] = input.OnStackFailure;
3408
3408
  }
3409
+ if (input.ImportExistingResources != null) {
3410
+ entries["ImportExistingResources"] = input.ImportExistingResources;
3411
+ }
3409
3412
  return entries;
3410
3413
  };
3411
3414
  const se_CreateStackInput = (input, context) => {
@@ -5581,6 +5584,9 @@ const de_ChangeSetSummary = (output, context) => {
5581
5584
  if (output["RootChangeSetId"] !== undefined) {
5582
5585
  contents.RootChangeSetId = __expectString(output["RootChangeSetId"]);
5583
5586
  }
5587
+ if (output["ImportExistingResources"] !== undefined) {
5588
+ contents.ImportExistingResources = __parseBoolean(output["ImportExistingResources"]);
5589
+ }
5584
5590
  return contents;
5585
5591
  };
5586
5592
  const de_ContinueUpdateRollbackOutput = (output, context) => {
@@ -5792,6 +5798,9 @@ const de_DescribeChangeSetOutput = (output, context) => {
5792
5798
  if (output["OnStackFailure"] !== undefined) {
5793
5799
  contents.OnStackFailure = __expectString(output["OnStackFailure"]);
5794
5800
  }
5801
+ if (output["ImportExistingResources"] !== undefined) {
5802
+ contents.ImportExistingResources = __parseBoolean(output["ImportExistingResources"]);
5803
+ }
5795
5804
  return contents;
5796
5805
  };
5797
5806
  const de_DescribeOrganizationsAccessOutput = (output, context) => {
@@ -98,6 +98,7 @@ export interface CreateChangeSetCommandOutput extends CreateChangeSetOutput, __M
98
98
  * ],
99
99
  * IncludeNestedStacks: true || false,
100
100
  * OnStackFailure: "DO_NOTHING" || "ROLLBACK" || "DELETE",
101
+ * ImportExistingResources: true || false,
101
102
  * };
102
103
  * const command = new CreateChangeSetCommand(input);
103
104
  * const response = await client.send(command);
@@ -25,7 +25,7 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput,
25
25
  * @public
26
26
  * <p>Returns the inputs for the change set and a list of changes that CloudFormation will make if you execute the
27
27
  * change set. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html">Updating Stacks Using Change
28
- * Sets</a> in the CloudFormation User Guide.</p>
28
+ * Sets</a> in the <i>CloudFormation User Guide</i>.</p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -116,6 +116,7 @@ export interface DescribeChangeSetCommandOutput extends DescribeChangeSetOutput,
116
116
  * // ParentChangeSetId: "STRING_VALUE",
117
117
  * // RootChangeSetId: "STRING_VALUE",
118
118
  * // OnStackFailure: "DO_NOTHING" || "ROLLBACK" || "DELETE",
119
+ * // ImportExistingResources: true || false,
119
120
  * // };
120
121
  *
121
122
  * ```
@@ -24,7 +24,8 @@ export interface DescribeStackEventsCommandOutput extends DescribeStackEventsOut
24
24
  /**
25
25
  * @public
26
26
  * <p>Returns all stack related events for a specified stack in reverse chronological order. For more information
27
- * about a stack's event history, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html">Stacks</a> in the CloudFormation User Guide.</p>
27
+ * about a stack's event history, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/concept-stack.html">Stacks</a> in the
28
+ * <i>CloudFormation User Guide</i>.</p>
28
29
  * <note>
29
30
  * <p>You can list events for stacks that have failed to create or have been deleted by specifying the unique stack
30
31
  * identifier (stack ID).</p>
@@ -52,6 +52,7 @@ export interface ListChangeSetsCommandOutput extends ListChangeSetsOutput, __Met
52
52
  * // IncludeNestedStacks: true || false,
53
53
  * // ParentChangeSetId: "STRING_VALUE",
54
54
  * // RootChangeSetId: "STRING_VALUE",
55
+ * // ImportExistingResources: true || false,
55
56
  * // },
56
57
  * // ],
57
58
  * // NextToken: "STRING_VALUE",
@@ -1213,6 +1213,11 @@ export interface ChangeSetSummary {
1213
1213
  * <p>The root change set ID.</p>
1214
1214
  */
1215
1215
  RootChangeSetId?: string;
1216
+ /**
1217
+ * @public
1218
+ * <p>Indicates if the stack set imports resources that already exist.</p>
1219
+ */
1220
+ ImportExistingResources?: boolean;
1216
1221
  }
1217
1222
  /**
1218
1223
  * @public
@@ -1599,7 +1604,7 @@ export interface CreateChangeSetInput {
1599
1604
  * default, CloudFormation grants permissions to all resource types. Identity and Access Management (IAM)
1600
1605
  * uses this parameter for condition keys in IAM policies for CloudFormation. For more information,
1601
1606
  * see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html">Controlling access
1602
- * with Identity and Access Management</a> in the CloudFormation User Guide.</p>
1607
+ * with Identity and Access Management</a> in the <i>CloudFormation User Guide</i>.</p>
1603
1608
  * <note>
1604
1609
  * <p>Only one of the <code>Capabilities</code> and <code>ResourceType</code> parameters can be specified.</p>
1605
1610
  * </note>
@@ -1710,6 +1715,17 @@ export interface CreateChangeSetInput {
1710
1715
  * be deleted.</p>
1711
1716
  */
1712
1717
  OnStackFailure?: OnStackFailure;
1718
+ /**
1719
+ * @public
1720
+ * <p>Indicates if the stack set imports resources that already exist.</p>
1721
+ * <note>
1722
+ * <p>This parameter can only import resources that have custom names in templates. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">name type</a> in the
1723
+ * <i>CloudFormation User Guide</i>. To import resources that do not accept custom names, such as EC2 instances,
1724
+ * use the resource import feature instead. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">Bringing existing resources into CloudFormation
1725
+ * management</a> in the <i>CloudFormation User Guide</i>.</p>
1726
+ * </note>
1727
+ */
1728
+ ImportExistingResources?: boolean;
1713
1729
  }
1714
1730
  /**
1715
1731
  * @public
@@ -1786,7 +1802,7 @@ export interface CreateStackInput {
1786
1802
  /**
1787
1803
  * @public
1788
1804
  * <p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For
1789
- * more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a> in the CloudFormation User Guide.</p>
1805
+ * more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a> in the <i>CloudFormation User Guide</i>.</p>
1790
1806
  * <p>Conditional: You must specify either the <code>TemplateBody</code> or the <code>TemplateURL</code> parameter,
1791
1807
  * but not both.</p>
1792
1808
  */
@@ -1795,7 +1811,7 @@ export interface CreateStackInput {
1795
1811
  * @public
1796
1812
  * <p>Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's
1797
1813
  * located in an Amazon S3 bucket or a Systems Manager document. For more information, go to the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a> in the
1798
- * CloudFormation User Guide.</p>
1814
+ * <i>CloudFormation User Guide</i>.</p>
1799
1815
  * <p>Conditional: You must specify either the <code>TemplateBody</code> or the <code>TemplateURL</code> parameter,
1800
1816
  * but not both.</p>
1801
1817
  */
@@ -2200,19 +2216,21 @@ export interface StackSetOperationPreferences {
2200
2216
  * <ul>
2201
2217
  * <li>
2202
2218
  * <p>
2203
- * <code>STRICT_FAILURE_TOLERANCE</code>: Dynamically lowers the concurrency level to ensure
2204
- * the number of failed accounts never exceeds the <code>FailureToleranceCount</code> +1.
2205
- * StackSets will set the actual concurrency of your deployment as the minimum value between the
2206
- * <code>MaxConcurrentCount</code> and the <code>FailureToleranceCount</code> +1. This is the
2207
- * default behavior.</p>
2219
+ * <code>STRICT_FAILURE_TOLERANCE</code>: This option dynamically lowers the concurrency
2220
+ * level to ensure the number of failed accounts never exceeds the value of
2221
+ * <code>FailureToleranceCount</code> +1. The initial actual concurrency is set to the lower of
2222
+ * either the value of the <code>MaxConcurrentCount</code>, or the value of
2223
+ * <code>MaxConcurrentCount</code> +1. The actual concurrency is then reduced proportionally by
2224
+ * the number of failures. This is the default behavior.</p>
2208
2225
  * <p>If failure tolerance or Maximum concurrent accounts are set to percentages, the behavior
2209
2226
  * is similar.</p>
2210
2227
  * </li>
2211
2228
  * <li>
2212
2229
  * <p>
2213
- * <code>SOFT_FAILURE_TOLERANCE</code>: Always run at the concurrency level set by the user
2214
- * in the <code>MaxConcurrentCount</code> or <code>MaxConcurrentPercentage</code>, regardless of
2215
- * the number of failures.</p>
2230
+ * <code>SOFT_FAILURE_TOLERANCE</code>: This option decouples
2231
+ * <code>FailureToleranceCount</code> from the actual concurrency. This allows stack set
2232
+ * operations to run at the concurrency level set by the <code>MaxConcurrentCount</code> value, or
2233
+ * <code>MaxConcurrentPercentage</code>, regardless of the number of failures.</p>
2216
2234
  * </li>
2217
2235
  * </ul>
2218
2236
  */
@@ -3157,6 +3175,15 @@ export interface DescribeChangeSetOutput {
3157
3175
  * </ul>
3158
3176
  */
3159
3177
  OnStackFailure?: OnStackFailure;
3178
+ /**
3179
+ * @public
3180
+ * <p>Indicates if the stack set imports resources that already exist.</p>
3181
+ * <note>
3182
+ * <p>This parameter can only import resources that have <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html">custom names</a> in templates. To import
3183
+ * resources that do not accept custom names, such as EC2 instances, use the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html">resource import</a> feature instead.</p>
3184
+ * </note>
3185
+ */
3186
+ ImportExistingResources?: boolean;
3160
3187
  }
3161
3188
  /**
3162
3189
  * @public
@@ -5861,7 +5888,7 @@ export interface EstimateTemplateCostInput {
5861
5888
  * @public
5862
5889
  * <p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
5863
5890
  * (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
5864
- * CloudFormation User Guide.)</p>
5891
+ * <i>CloudFormation User Guide</i>.)</p>
5865
5892
  * <p>Conditional: You must pass <code>TemplateBody</code> or <code>TemplateURL</code>. If both are passed, only
5866
5893
  * <code>TemplateBody</code> is used.</p>
5867
5894
  */
@@ -5869,7 +5896,7 @@ export interface EstimateTemplateCostInput {
5869
5896
  /**
5870
5897
  * @public
5871
5898
  * <p>Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
5872
- * CloudFormation User Guide.</p>
5899
+ * <i>CloudFormation User Guide</i>.</p>
5873
5900
  * <p>Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only
5874
5901
  * <code>TemplateBody</code> is used.</p>
5875
5902
  */
@@ -5972,7 +5999,7 @@ export interface GetStackPolicyOutput {
5972
5999
  /**
5973
6000
  * @public
5974
6001
  * <p>Structure containing the stack policy body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html"> Prevent Updates to Stack Resources</a> in
5975
- * the CloudFormation User Guide.)</p>
6002
+ * the <i>CloudFormation User Guide</i>.)</p>
5976
6003
  */
5977
6004
  StackPolicyBody?: string;
5978
6005
  }
@@ -6031,7 +6058,7 @@ export interface GetTemplateOutput {
6031
6058
  /**
6032
6059
  * @public
6033
6060
  * <p>Structure containing the template body. (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
6034
- * CloudFormation User Guide.)</p>
6061
+ * <i>CloudFormation User Guide</i>.)</p>
6035
6062
  * <p>CloudFormation returns the same template that was used when the stack was created.</p>
6036
6063
  */
6037
6064
  TemplateBody?: string;
@@ -6065,7 +6092,7 @@ export interface GetTemplateSummaryInput {
6065
6092
  * @public
6066
6093
  * <p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For
6067
6094
  * more information about templates, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a> in the
6068
- * CloudFormation User Guide.</p>
6095
+ * <i>CloudFormation User Guide</i>.</p>
6069
6096
  * <p>Conditional: You must specify only one of the following parameters: <code>StackName</code>,
6070
6097
  * <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.</p>
6071
6098
  */
@@ -6074,8 +6101,8 @@ export interface GetTemplateSummaryInput {
6074
6101
  * @public
6075
6102
  * <p>Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that's
6076
6103
  * located in an Amazon S3 bucket or a Systems Manager document. For more information about templates, see
6077
- * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a>
6078
- * in the CloudFormation User Guide.</p>
6104
+ * <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template anatomy</a>
6105
+ * in the <i>CloudFormation User Guide</i>.</p>
6079
6106
  * <p>Conditional: You must specify only one of the following parameters: <code>StackName</code>,
6080
6107
  * <code>StackSetName</code>, <code>TemplateBody</code>, or <code>TemplateURL</code>.</p>
6081
6108
  */
@@ -6579,10 +6606,10 @@ export interface StackInstanceResourceDriftsSummary {
6579
6606
  PhysicalResourceId?: string;
6580
6607
  /**
6581
6608
  * @public
6582
- * <p>Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context
6583
- * key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely
6584
- * identify that resource. Each context key-value pair specifies a unique resource that contains the
6585
- * targeted resource.</p>
6609
+ * <p>Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses
6610
+ * context key-value pairs in cases where a resource's logical and physical IDs aren't enough
6611
+ * to uniquely identify that resource. Each context key-value pair specifies a unique resource
6612
+ * that contains the targeted resource.</p>
6586
6613
  */
6587
6614
  PhysicalResourceIdContext?: PhysicalResourceIdContextKeyValuePair[];
6588
6615
  /**
@@ -6593,9 +6620,9 @@ export interface StackInstanceResourceDriftsSummary {
6593
6620
  ResourceType: string | undefined;
6594
6621
  /**
6595
6622
  * @public
6596
- * <p>Status of the actual configuration of the resource compared to its expected configuration.
6597
- * These will be present only for resources whose <code>StackInstanceResourceDriftStatus</code> is
6598
- * <code>MODIFIED</code>. </p>
6623
+ * <p>Status of the actual configuration of the resource compared to its expected
6624
+ * configuration. These will be present only for resources whose
6625
+ * <code>StackInstanceResourceDriftStatus</code> is <code>MODIFIED</code>. </p>
6599
6626
  */
6600
6627
  PropertyDifferences?: PropertyDifference[];
6601
6628
  /**
@@ -8496,8 +8523,8 @@ export interface SetStackPolicyInput {
8496
8523
  /**
8497
8524
  * @public
8498
8525
  * <p>Structure containing the stack policy body. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html"> Prevent updates to stack resources</a> in
8499
- * the CloudFormation User Guide. You can specify either the <code>StackPolicyBody</code> or the <code>StackPolicyURL</code>
8500
- * parameter, but not both.</p>
8526
+ * the <i>CloudFormation User Guide</i>. You can specify either the <code>StackPolicyBody</code> or the
8527
+ * <code>StackPolicyURL</code> parameter, but not both.</p>
8501
8528
  */
8502
8529
  StackPolicyBody?: string;
8503
8530
  /**
@@ -8763,7 +8790,7 @@ export interface UpdateStackInput {
8763
8790
  * @public
8764
8791
  * <p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
8765
8792
  * (For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
8766
- * CloudFormation User Guide.)</p>
8793
+ * <i>CloudFormation User Guide</i>.)</p>
8767
8794
  * <p>Conditional: You must specify only one of the following parameters: <code>TemplateBody</code>,
8768
8795
  * <code>TemplateURL</code>, or set the <code>UsePreviousTemplate</code> to <code>true</code>.</p>
8769
8796
  */
@@ -8771,7 +8798,7 @@ export interface UpdateStackInput {
8771
8798
  /**
8772
8799
  * @public
8773
8800
  * <p>Location of file containing the template body. The URL must point to a template that's located in an Amazon S3 bucket or a Systems Manager document. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
8774
- * CloudFormation User Guide.</p>
8801
+ * <i>CloudFormation User Guide</i>.</p>
8775
8802
  * <p>Conditional: You must specify only one of the following parameters: <code>TemplateBody</code>,
8776
8803
  * <code>TemplateURL</code>, or set the <code>UsePreviousTemplate</code> to <code>true</code>.</p>
8777
8804
  */
@@ -9465,7 +9492,7 @@ export interface ValidateTemplateInput {
9465
9492
  /**
9466
9493
  * @public
9467
9494
  * <p>Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For
9468
- * more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the CloudFormation User Guide.</p>
9495
+ * more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the <i>CloudFormation User Guide</i>.</p>
9469
9496
  * <p>Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only
9470
9497
  * <code>TemplateBody</code> is used.</p>
9471
9498
  */
@@ -9474,7 +9501,7 @@ export interface ValidateTemplateInput {
9474
9501
  * @public
9475
9502
  * <p>Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that
9476
9503
  * is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html">Template Anatomy</a> in the
9477
- * CloudFormation User Guide.</p>
9504
+ * <i>CloudFormation User Guide</i>.</p>
9478
9505
  * <p>Conditional: You must pass <code>TemplateURL</code> or <code>TemplateBody</code>. If both are passed, only
9479
9506
  * <code>TemplateBody</code> is used.</p>
9480
9507
  */
@@ -334,6 +334,7 @@ export interface ChangeSetSummary {
334
334
  IncludeNestedStacks?: boolean;
335
335
  ParentChangeSetId?: string;
336
336
  RootChangeSetId?: string;
337
+ ImportExistingResources?: boolean;
337
338
  }
338
339
  export declare const ChangeSetType: {
339
340
  readonly CREATE: "CREATE";
@@ -397,6 +398,7 @@ export interface CreateChangeSetInput {
397
398
  ResourcesToImport?: ResourceToImport[];
398
399
  IncludeNestedStacks?: boolean;
399
400
  OnStackFailure?: OnStackFailure;
401
+ ImportExistingResources?: boolean;
400
402
  }
401
403
  export interface CreateChangeSetOutput {
402
404
  Id?: string;
@@ -672,6 +674,7 @@ export interface DescribeChangeSetOutput {
672
674
  ParentChangeSetId?: string;
673
675
  RootChangeSetId?: string;
674
676
  OnStackFailure?: OnStackFailure;
677
+ ImportExistingResources?: boolean;
675
678
  }
676
679
  export interface DescribeChangeSetHooksInput {
677
680
  ChangeSetName: string | undefined;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.454.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.454.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
26
  "@aws-sdk/credential-provider-node": "3.451.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
@@ -36,17 +36,20 @@ export interface PolicyDescriptorType {
36
36
  }
37
37
  /**
38
38
  * @public
39
- * <p>Reserved for future use.</p>
39
+ * <p>Contains information about the provided context. This includes the signed and encrypted
40
+ * trusted context assertion and the context provider ARN from which the trusted context
41
+ * assertion was generated.</p>
40
42
  */
41
43
  export interface ProvidedContext {
42
44
  /**
43
45
  * @public
44
- * <p>Reserved for future use.</p>
46
+ * <p>The context provider ARN from which the trusted context assertion was generated.</p>
45
47
  */
46
48
  ProviderArn?: string;
47
49
  /**
48
50
  * @public
49
- * <p>Reserved for future use.</p>
51
+ * <p>The signed and encrypted trusted context assertion generated by the context provider.
52
+ * The trusted context assertion is signed and encrypted by Amazon Web Services STS.</p>
50
53
  */
51
54
  ContextAssertion?: string;
52
55
  }
@@ -280,7 +283,14 @@ export interface AssumeRoleRequest {
280
283
  SourceIdentity?: string;
281
284
  /**
282
285
  * @public
283
- * <p>Reserved for future use.</p>
286
+ * <p>A list of previously acquired trusted context assertions in the format of a JSON array.
287
+ * The trusted context assertion is signed and encrypted by Amazon Web Services STS.</p>
288
+ * <p>The following is an example of a <code>ProvidedContext</code> value that includes a
289
+ * single trusted context assertion and the ARN of the context provider from which the trusted
290
+ * context assertion was generated.</p>
291
+ * <p>
292
+ * <code>[\{"ProviderArn":"arn:aws:iam::aws:contextProvider/identitycenter","ContextAssertion":"trusted-context-assertion"\}]</code>
293
+ * </p>
284
294
  */
285
295
  ProvidedContexts?: ProvidedContext[];
286
296
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.454.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "organization": false
43
43
  },
44
44
  "devDependencies": {
45
- "@cdk8s/projen-common": "0.0.467",
45
+ "@cdk8s/projen-common": "0.0.470",
46
46
  "@types/fs-extra": "^11.0.4",
47
47
  "@types/jest": "^27",
48
48
  "@types/node": "^16",
@@ -51,7 +51,7 @@
51
51
  "aws-cdk": "^2.110.0",
52
52
  "aws-cdk-lib": "2.109.0",
53
53
  "cdk8s": "2.68.4",
54
- "cdk8s-cli": "^2.179.0",
54
+ "cdk8s-cli": "^2.180.0",
55
55
  "constructs": "10.3.0",
56
56
  "eslint": "^8",
57
57
  "eslint-import-resolver-typescript": "^3.6.1",
@@ -65,7 +65,7 @@
65
65
  "jsii-pacmak": "^1.92.0",
66
66
  "jsii-rosetta": "^5",
67
67
  "npm-check-updates": "^16",
68
- "projen": "^0.76.28",
68
+ "projen": "^0.76.29",
69
69
  "standard-version": "^9",
70
70
  "ts-jest": "^27",
71
71
  "ts-node": "^10.9.1",
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "0.0.34",
96
+ "version": "0.0.35",
97
97
  "jest": {
98
98
  "testMatch": [
99
99
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",