@aws-lite/cloudformation-types 0.0.2 → 0.0.4
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/index.d.ts +14 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
|
+
CreateStackCommandOutput as CreateStackResponse,
|
|
4
5
|
DeleteStackCommandOutput as DeleteStackResponse,
|
|
5
6
|
DescribeStackResourcesCommandOutput as DescribeStackResourcesResponse,
|
|
6
7
|
DescribeStacksCommandOutput as DescribeStacksResponse,
|
|
7
8
|
ListStackResourcesCommandOutput as ListStackResourcesResponse,
|
|
9
|
+
UpdateStackCommandOutput as UpdateStackResponse,
|
|
8
10
|
// $IMPORTS_END
|
|
9
11
|
} from "@aws-sdk/client-cloudformation";
|
|
10
12
|
|
|
11
13
|
declare interface AwsLiteCloudFormation {
|
|
12
14
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
13
15
|
// $METHODS_START
|
|
16
|
+
/**
|
|
17
|
+
* @description
|
|
18
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html CloudFormation: CreateStack}
|
|
19
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#CreateStack CloudFormation: CreateStack}
|
|
20
|
+
*/
|
|
21
|
+
CreateStack: (input: { StackName: string, Capabilities?: any[], ClientRequestToken?: string, DisableRollback?: boolean, EnableTerminationProtection?: boolean, NotificationARNs?: any[], OnFailure?: string, 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, TimeoutInMinutes?: number }) => Promise<CreateStackResponse>
|
|
14
22
|
/**
|
|
15
23
|
* @description
|
|
16
24
|
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeleteStack.html CloudFormation: DeleteStack}
|
|
@@ -35,6 +43,12 @@ declare interface AwsLiteCloudFormation {
|
|
|
35
43
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#ListStackResources CloudFormation: ListStackResources}
|
|
36
44
|
*/
|
|
37
45
|
ListStackResources: (input: { StackName: string, NextToken?: string, paginate?: boolean }) => Promise<ListStackResourcesResponse>
|
|
46
|
+
/**
|
|
47
|
+
* @description
|
|
48
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html CloudFormation: UpdateStack}
|
|
49
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#UpdateStack CloudFormation: UpdateStack}
|
|
50
|
+
*/
|
|
51
|
+
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>
|
|
38
52
|
// $METHODS_END
|
|
39
53
|
}
|
|
40
54
|
|
package/package.json
CHANGED