@aws-lite/cloudformation-types 0.0.7 → 0.1.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.
Files changed (2) hide show
  1. package/index.d.ts +8 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  DescribeStacksCommandOutput as DescribeStacksResponse,
8
8
  ListStackResourcesCommandOutput as ListStackResourcesResponse,
9
9
  UpdateStackCommandOutput as UpdateStackResponse,
10
+ UpdateTerminationProtectionCommandOutput as UpdateTerminationProtectionResponse,
10
11
  // $IMPORTS_END
11
12
  } from "@aws-sdk/client-cloudformation";
12
13
 
@@ -49,6 +50,12 @@ declare interface AwsLiteCloudFormation {
49
50
  * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#UpdateStack CloudFormation: UpdateStack}
50
51
  */
51
52
  UpdateStack: (input: { StackName: string, Capabilities?: any[], ClientRequestToken?: string, DisableRollback?: boolean, NotificationARNs?: any[], Parameters?: any[], ResourceTypes?: any[], RetainExceptOnCreate?: boolean, RoleARN?: string, RollbackConfiguration?: Record<string, any>, StackPolicyBody?: string | Record<string, any>, StackPolicyURL?: string, Tags?: any[], TemplateBody?: string | Record<string, any>, TemplateURL?: string }) => Promise<UpdateStackResponse>
53
+ /**
54
+ * @description
55
+ * - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateTerminationProtection.html CloudFormation: UpdateTerminationProtection}
56
+ * - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#UpdateTerminationProtection CloudFormation: UpdateTerminationProtection}
57
+ */
58
+ UpdateTerminationProtection: (input: { StackName: string, EnableTerminationProtection: boolean }) => Promise<UpdateTerminationProtectionResponse>
52
59
  // $METHODS_END
53
60
  }
54
61
 
@@ -68,5 +75,6 @@ export type {
68
75
  DescribeStacksResponse,
69
76
  ListStackResourcesResponse,
70
77
  UpdateStackResponse,
78
+ UpdateTerminationProtectionResponse,
71
79
  // $EXPORT_END
72
80
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/cloudformation-types",
3
- "version": "0.0.7",
3
+ "version": "0.1.0",
4
4
  "description": "Type definitions for the `@aws-lite/cloudformation` plugin",
5
5
  "homepage": "https://aws-lite.org/services/cloudformation",
6
6
  "repository": {