@cdk8s/awscdk-resolver 0.0.202 → 0.0.203
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/README.md +8 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +151 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +19 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +110 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +89 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +131 -190
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +191 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +36 -25
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +26 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
- package/package.json +5 -5
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { ListHookResultsInput, ListHookResultsOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export type { __MetadataBearer };
|
9
|
+
export { $Command };
|
10
|
+
/**
|
11
|
+
* @public
|
12
|
+
*
|
13
|
+
* The input for {@link ListHookResultsCommand}.
|
14
|
+
*/
|
15
|
+
export interface ListHookResultsCommandInput extends ListHookResultsInput {
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @public
|
19
|
+
*
|
20
|
+
* The output of {@link ListHookResultsCommand}.
|
21
|
+
*/
|
22
|
+
export interface ListHookResultsCommandOutput extends ListHookResultsOutput, __MetadataBearer {
|
23
|
+
}
|
24
|
+
declare const ListHookResultsCommand_base: {
|
25
|
+
new (input: ListHookResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHookResultsCommandInput, ListHookResultsCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
+
new (__0_0: ListHookResultsCommandInput): import("@smithy/smithy-client").CommandImpl<ListHookResultsCommandInput, ListHookResultsCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* <p>Returns summaries of invoked Hooks when a change set or Cloud Control API operation target is provided.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, ListHookResultsCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, ListHookResultsCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // ListHookResultsInput
|
38
|
+
* TargetType: "CHANGE_SET" || "STACK" || "RESOURCE" || "CLOUD_CONTROL", // required
|
39
|
+
* TargetId: "STRING_VALUE", // required
|
40
|
+
* NextToken: "STRING_VALUE",
|
41
|
+
* };
|
42
|
+
* const command = new ListHookResultsCommand(input);
|
43
|
+
* const response = await client.send(command);
|
44
|
+
* // { // ListHookResultsOutput
|
45
|
+
* // TargetType: "CHANGE_SET" || "STACK" || "RESOURCE" || "CLOUD_CONTROL",
|
46
|
+
* // TargetId: "STRING_VALUE",
|
47
|
+
* // HookResults: [ // HookResultSummaries
|
48
|
+
* // { // HookResultSummary
|
49
|
+
* // InvocationPoint: "PRE_PROVISION",
|
50
|
+
* // FailureMode: "FAIL" || "WARN",
|
51
|
+
* // TypeName: "STRING_VALUE",
|
52
|
+
* // TypeVersionId: "STRING_VALUE",
|
53
|
+
* // TypeConfigurationVersionId: "STRING_VALUE",
|
54
|
+
* // Status: "HOOK_IN_PROGRESS" || "HOOK_COMPLETE_SUCCEEDED" || "HOOK_COMPLETE_FAILED" || "HOOK_FAILED",
|
55
|
+
* // HookStatusReason: "STRING_VALUE",
|
56
|
+
* // },
|
57
|
+
* // ],
|
58
|
+
* // NextToken: "STRING_VALUE",
|
59
|
+
* // };
|
60
|
+
*
|
61
|
+
* ```
|
62
|
+
*
|
63
|
+
* @param ListHookResultsCommandInput - {@link ListHookResultsCommandInput}
|
64
|
+
* @returns {@link ListHookResultsCommandOutput}
|
65
|
+
* @see {@link ListHookResultsCommandInput} for command's `input` shape.
|
66
|
+
* @see {@link ListHookResultsCommandOutput} for command's `response` shape.
|
67
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
68
|
+
*
|
69
|
+
* @throws {@link HookResultNotFoundException} (client fault)
|
70
|
+
* <p>The specified target doesn't have any requested Hook invocations.</p>
|
71
|
+
*
|
72
|
+
* @throws {@link CloudFormationServiceException}
|
73
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
74
|
+
*
|
75
|
+
* @public
|
76
|
+
*/
|
77
|
+
export declare class ListHookResultsCommand extends ListHookResultsCommand_base {
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
79
|
+
protected static __types: {
|
80
|
+
api: {
|
81
|
+
input: ListHookResultsInput;
|
82
|
+
output: ListHookResultsOutput;
|
83
|
+
};
|
84
|
+
sdk: {
|
85
|
+
input: ListHookResultsCommandInput;
|
86
|
+
output: ListHookResultsCommandOutput;
|
87
|
+
};
|
88
|
+
};
|
89
|
+
}
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { RegisterTypeInput, RegisterTypeOutput } from "../models/
|
4
|
+
import { RegisterTypeInput, RegisterTypeOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { RollbackStackInput, RollbackStackOutput } from "../models/
|
4
|
+
import { RollbackStackInput, RollbackStackOutput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
3
|
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
-
import { SetStackPolicyInput } from "../models/
|
4
|
+
import { SetStackPolicyInput } from "../models/models_1";
|
5
5
|
/**
|
6
6
|
* @public
|
7
7
|
*/
|
@@ -47,6 +47,7 @@ export * from "./ImportStacksToStackSetCommand";
|
|
47
47
|
export * from "./ListChangeSetsCommand";
|
48
48
|
export * from "./ListExportsCommand";
|
49
49
|
export * from "./ListGeneratedTemplatesCommand";
|
50
|
+
export * from "./ListHookResultsCommand";
|
50
51
|
export * from "./ListImportsCommand";
|
51
52
|
export * from "./ListResourceScanRelatedResourcesCommand";
|
52
53
|
export * from "./ListResourceScanResourcesCommand";
|
@@ -7695,6 +7695,137 @@ export interface ListGeneratedTemplatesOutput {
|
|
7695
7695
|
*/
|
7696
7696
|
NextToken?: string | undefined;
|
7697
7697
|
}
|
7698
|
+
/**
|
7699
|
+
* <p>The specified target doesn't have any requested Hook invocations.</p>
|
7700
|
+
* @public
|
7701
|
+
*/
|
7702
|
+
export declare class HookResultNotFoundException extends __BaseException {
|
7703
|
+
readonly name: "HookResultNotFoundException";
|
7704
|
+
readonly $fault: "client";
|
7705
|
+
Message?: string | undefined;
|
7706
|
+
/**
|
7707
|
+
* @internal
|
7708
|
+
*/
|
7709
|
+
constructor(opts: __ExceptionOptionType<HookResultNotFoundException, __BaseException>);
|
7710
|
+
}
|
7711
|
+
/**
|
7712
|
+
* @public
|
7713
|
+
* @enum
|
7714
|
+
*/
|
7715
|
+
export declare const ListHookResultsTargetType: {
|
7716
|
+
readonly CHANGE_SET: "CHANGE_SET";
|
7717
|
+
readonly CLOUD_CONTROL: "CLOUD_CONTROL";
|
7718
|
+
readonly RESOURCE: "RESOURCE";
|
7719
|
+
readonly STACK: "STACK";
|
7720
|
+
};
|
7721
|
+
/**
|
7722
|
+
* @public
|
7723
|
+
*/
|
7724
|
+
export type ListHookResultsTargetType = (typeof ListHookResultsTargetType)[keyof typeof ListHookResultsTargetType];
|
7725
|
+
/**
|
7726
|
+
* @public
|
7727
|
+
*/
|
7728
|
+
export interface ListHookResultsInput {
|
7729
|
+
/**
|
7730
|
+
* <p>The type of operation being targeted by the Hook.</p>
|
7731
|
+
* @public
|
7732
|
+
*/
|
7733
|
+
TargetType: ListHookResultsTargetType | undefined;
|
7734
|
+
/**
|
7735
|
+
* <p>The logical ID of the target the operation is acting on by the Hook. If the target is a change set,
|
7736
|
+
* it's the ARN of the change set.</p>
|
7737
|
+
* <p>If the target is a Cloud Control API operation, this will be the <code>HookRequestToken</code> returned by the Cloud Control API
|
7738
|
+
* operation request. For more information on the <code>HookRequestToken</code>, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html">ProgressEvent</a>.</p>
|
7739
|
+
* @public
|
7740
|
+
*/
|
7741
|
+
TargetId: string | undefined;
|
7742
|
+
/**
|
7743
|
+
* <p>A string that identifies the next page of events that you want to retrieve.</p>
|
7744
|
+
* @public
|
7745
|
+
*/
|
7746
|
+
NextToken?: string | undefined;
|
7747
|
+
}
|
7748
|
+
/**
|
7749
|
+
* <p>Describes a Hook invocation, its status, and the reason for its status.</p>
|
7750
|
+
* @public
|
7751
|
+
*/
|
7752
|
+
export interface HookResultSummary {
|
7753
|
+
/**
|
7754
|
+
* <p>The exact point in the provisioning logic where the Hook runs.</p>
|
7755
|
+
* @public
|
7756
|
+
*/
|
7757
|
+
InvocationPoint?: HookInvocationPoint | undefined;
|
7758
|
+
/**
|
7759
|
+
* <p>The failure mode of the invocation. The following are potential modes:</p>
|
7760
|
+
* <ul>
|
7761
|
+
* <li>
|
7762
|
+
* <p>
|
7763
|
+
* <code>FAIL</code>: If the hook invocation returns a failure, then the requested target operation should fail.</p>
|
7764
|
+
* </li>
|
7765
|
+
* <li>
|
7766
|
+
* <p>
|
7767
|
+
* <code>WARN</code>: If the hook invocation returns a failure, then the requested target operation should warn.</p>
|
7768
|
+
* </li>
|
7769
|
+
* </ul>
|
7770
|
+
* @public
|
7771
|
+
*/
|
7772
|
+
FailureMode?: HookFailureMode | undefined;
|
7773
|
+
/**
|
7774
|
+
* <p>The type name of the Hook being invoked.</p>
|
7775
|
+
* @public
|
7776
|
+
*/
|
7777
|
+
TypeName?: string | undefined;
|
7778
|
+
/**
|
7779
|
+
* <p>The version of the Hook being invoked.</p>
|
7780
|
+
* @public
|
7781
|
+
*/
|
7782
|
+
TypeVersionId?: string | undefined;
|
7783
|
+
/**
|
7784
|
+
* <p>The version of the Hook type configuration.</p>
|
7785
|
+
* @public
|
7786
|
+
*/
|
7787
|
+
TypeConfigurationVersionId?: string | undefined;
|
7788
|
+
/**
|
7789
|
+
* <p>The state of the Hook invocation.</p>
|
7790
|
+
* @public
|
7791
|
+
*/
|
7792
|
+
Status?: HookStatus | undefined;
|
7793
|
+
/**
|
7794
|
+
* <p>A description of the Hook results status. For example, if the Hook result is in a <code>FAILED</code> state, this
|
7795
|
+
* may contain additional information for the <code>FAILED</code> state.</p>
|
7796
|
+
* @public
|
7797
|
+
*/
|
7798
|
+
HookStatusReason?: string | undefined;
|
7799
|
+
}
|
7800
|
+
/**
|
7801
|
+
* @public
|
7802
|
+
*/
|
7803
|
+
export interface ListHookResultsOutput {
|
7804
|
+
/**
|
7805
|
+
* <p>The type of operation being targeted by the Hook.</p>
|
7806
|
+
* @public
|
7807
|
+
*/
|
7808
|
+
TargetType?: ListHookResultsTargetType | undefined;
|
7809
|
+
/**
|
7810
|
+
* <p>The logical ID of the target the operation is acting on by the Hook. If the target is a change set,
|
7811
|
+
* it's the ARN of the change set.</p>
|
7812
|
+
* <p>If the target is a Cloud Control API operation, this will be the <code>HooksRequestToken</code> returned by the Cloud Control API
|
7813
|
+
* operation request. For more information on the <code>HooksRequestToken</code>, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html">ProgressEvent</a>.</p>
|
7814
|
+
* @public
|
7815
|
+
*/
|
7816
|
+
TargetId?: string | undefined;
|
7817
|
+
/**
|
7818
|
+
* <p>A list of <code>HookResultSummary</code> structures that provides the status and Hook status reason for each Hook
|
7819
|
+
* invocation for the specified target.</p>
|
7820
|
+
* @public
|
7821
|
+
*/
|
7822
|
+
HookResults?: HookResultSummary[] | undefined;
|
7823
|
+
/**
|
7824
|
+
* <p>Pagination token, <code>null</code> or empty if no more results.</p>
|
7825
|
+
* @public
|
7826
|
+
*/
|
7827
|
+
NextToken?: string | undefined;
|
7828
|
+
}
|
7698
7829
|
/**
|
7699
7830
|
* @public
|
7700
7831
|
*/
|
@@ -9999,193 +10130,3 @@ export interface RegisterPublisherOutput {
|
|
9999
10130
|
*/
|
10000
10131
|
PublisherId?: string | undefined;
|
10001
10132
|
}
|
10002
|
-
/**
|
10003
|
-
* @public
|
10004
|
-
*/
|
10005
|
-
export interface RegisterTypeInput {
|
10006
|
-
/**
|
10007
|
-
* <p>The kind of extension.</p>
|
10008
|
-
* @public
|
10009
|
-
*/
|
10010
|
-
Type?: RegistryType | undefined;
|
10011
|
-
/**
|
10012
|
-
* <p>The name of the extension being registered.</p>
|
10013
|
-
* <p>We suggest that extension names adhere to the following patterns:</p>
|
10014
|
-
* <ul>
|
10015
|
-
* <li>
|
10016
|
-
* <p>For resource types, <code>company_or_organization::service::type</code>.</p>
|
10017
|
-
* </li>
|
10018
|
-
* <li>
|
10019
|
-
* <p>For modules, <code>company_or_organization::service::type::MODULE</code>.</p>
|
10020
|
-
* </li>
|
10021
|
-
* <li>
|
10022
|
-
* <p>For hooks, <code>MyCompany::Testing::MyTestHook</code>.</p>
|
10023
|
-
* </li>
|
10024
|
-
* </ul>
|
10025
|
-
* <note>
|
10026
|
-
* <p>The following organization namespaces are reserved and can't be used in your extension
|
10027
|
-
* names:</p>
|
10028
|
-
* <ul>
|
10029
|
-
* <li>
|
10030
|
-
* <p>
|
10031
|
-
* <code>Alexa</code>
|
10032
|
-
* </p>
|
10033
|
-
* </li>
|
10034
|
-
* <li>
|
10035
|
-
* <p>
|
10036
|
-
* <code>AMZN</code>
|
10037
|
-
* </p>
|
10038
|
-
* </li>
|
10039
|
-
* <li>
|
10040
|
-
* <p>
|
10041
|
-
* <code>Amazon</code>
|
10042
|
-
* </p>
|
10043
|
-
* </li>
|
10044
|
-
* <li>
|
10045
|
-
* <p>
|
10046
|
-
* <code>AWS</code>
|
10047
|
-
* </p>
|
10048
|
-
* </li>
|
10049
|
-
* <li>
|
10050
|
-
* <p>
|
10051
|
-
* <code>Custom</code>
|
10052
|
-
* </p>
|
10053
|
-
* </li>
|
10054
|
-
* <li>
|
10055
|
-
* <p>
|
10056
|
-
* <code>Dev</code>
|
10057
|
-
* </p>
|
10058
|
-
* </li>
|
10059
|
-
* </ul>
|
10060
|
-
* </note>
|
10061
|
-
* @public
|
10062
|
-
*/
|
10063
|
-
TypeName: string | undefined;
|
10064
|
-
/**
|
10065
|
-
* <p>A URL to the S3 bucket containing the extension project package that contains the
|
10066
|
-
* necessary files for the extension you want to register.</p>
|
10067
|
-
* <p>For information about generating a schema handler package for the extension you want to
|
10068
|
-
* register, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html">submit</a> in
|
10069
|
-
* the <i>CloudFormation Command Line Interface (CLI) User Guide</i>.</p>
|
10070
|
-
* <note>
|
10071
|
-
* <p>The user registering the extension must be able to access the package in the S3 bucket.
|
10072
|
-
* That's, the user needs to have <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a> permissions for the schema
|
10073
|
-
* handler package. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html">Actions, Resources, and Condition Keys for
|
10074
|
-
* Amazon S3</a> in the <i>Identity and Access Management User Guide</i>.</p>
|
10075
|
-
* </note>
|
10076
|
-
* @public
|
10077
|
-
*/
|
10078
|
-
SchemaHandlerPackage: string | undefined;
|
10079
|
-
/**
|
10080
|
-
* <p>Specifies logging configuration information for an extension.</p>
|
10081
|
-
* @public
|
10082
|
-
*/
|
10083
|
-
LoggingConfig?: LoggingConfig | undefined;
|
10084
|
-
/**
|
10085
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking
|
10086
|
-
* the extension.</p>
|
10087
|
-
* <p>For CloudFormation to assume the specified execution role, the role must contain a trust
|
10088
|
-
* relationship with the CloudFormation service principal
|
10089
|
-
* (<code>resources.cloudformation.amazonaws.com</code>). For more information about adding
|
10090
|
-
* trust relationships, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy">Modifying a role trust policy</a> in the <i>Identity and Access Management User
|
10091
|
-
* Guide</i>.</p>
|
10092
|
-
* <p>If your extension calls Amazon Web Services APIs in any of its handlers, you must create an
|
10093
|
-
* <i>
|
10094
|
-
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
|
10095
|
-
* execution role</a>
|
10096
|
-
* </i> that includes the necessary permissions to call those
|
10097
|
-
* Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke
|
10098
|
-
* the resource type handler, CloudFormation assumes this execution role to create a temporary
|
10099
|
-
* session token, which it then passes to the resource type handler, thereby supplying your
|
10100
|
-
* resource type with the appropriate credentials.</p>
|
10101
|
-
* @public
|
10102
|
-
*/
|
10103
|
-
ExecutionRoleArn?: string | undefined;
|
10104
|
-
/**
|
10105
|
-
* <p>A unique identifier that acts as an idempotency key for this registration request.
|
10106
|
-
* Specifying a client request token prevents CloudFormation from generating more than one version of
|
10107
|
-
* an extension from the same registration request, even if the request is submitted multiple
|
10108
|
-
* times.</p>
|
10109
|
-
* @public
|
10110
|
-
*/
|
10111
|
-
ClientRequestToken?: string | undefined;
|
10112
|
-
}
|
10113
|
-
/**
|
10114
|
-
* @public
|
10115
|
-
*/
|
10116
|
-
export interface RegisterTypeOutput {
|
10117
|
-
/**
|
10118
|
-
* <p>The identifier for this registration request.</p>
|
10119
|
-
* <p>Use this registration token when calling <a>DescribeTypeRegistration</a>, which
|
10120
|
-
* returns information about the status and IDs of the extension registration.</p>
|
10121
|
-
* @public
|
10122
|
-
*/
|
10123
|
-
RegistrationToken?: string | undefined;
|
10124
|
-
}
|
10125
|
-
/**
|
10126
|
-
* @public
|
10127
|
-
*/
|
10128
|
-
export interface RollbackStackInput {
|
10129
|
-
/**
|
10130
|
-
* <p>The name that's associated with the stack.</p>
|
10131
|
-
* @public
|
10132
|
-
*/
|
10133
|
-
StackName: string | undefined;
|
10134
|
-
/**
|
10135
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the
|
10136
|
-
* stack.</p>
|
10137
|
-
* @public
|
10138
|
-
*/
|
10139
|
-
RoleARN?: string | undefined;
|
10140
|
-
/**
|
10141
|
-
* <p>A unique identifier for this <code>RollbackStack</code> request.</p>
|
10142
|
-
* @public
|
10143
|
-
*/
|
10144
|
-
ClientRequestToken?: string | undefined;
|
10145
|
-
/**
|
10146
|
-
* <p>When set to <code>true</code>, newly created resources are deleted when the operation
|
10147
|
-
* rolls back. This includes newly created resources marked with a deletion policy of
|
10148
|
-
* <code>Retain</code>.</p>
|
10149
|
-
* <p>Default: <code>false</code>
|
10150
|
-
* </p>
|
10151
|
-
* @public
|
10152
|
-
*/
|
10153
|
-
RetainExceptOnCreate?: boolean | undefined;
|
10154
|
-
}
|
10155
|
-
/**
|
10156
|
-
* @public
|
10157
|
-
*/
|
10158
|
-
export interface RollbackStackOutput {
|
10159
|
-
/**
|
10160
|
-
* <p>Unique identifier of the stack.</p>
|
10161
|
-
* @public
|
10162
|
-
*/
|
10163
|
-
StackId?: string | undefined;
|
10164
|
-
}
|
10165
|
-
/**
|
10166
|
-
* <p>The input for the <a>SetStackPolicy</a> action.</p>
|
10167
|
-
* @public
|
10168
|
-
*/
|
10169
|
-
export interface SetStackPolicyInput {
|
10170
|
-
/**
|
10171
|
-
* <p>The name or unique stack ID that you want to associate a policy with.</p>
|
10172
|
-
* @public
|
10173
|
-
*/
|
10174
|
-
StackName: string | undefined;
|
10175
|
-
/**
|
10176
|
-
* <p>Structure containing the stack policy body. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">Prevent updates to stack resources</a> in the <i>CloudFormation User Guide</i>.
|
10177
|
-
* You can specify either the <code>StackPolicyBody</code> or the <code>StackPolicyURL</code>
|
10178
|
-
* parameter, but not both.</p>
|
10179
|
-
* @public
|
10180
|
-
*/
|
10181
|
-
StackPolicyBody?: string | undefined;
|
10182
|
-
/**
|
10183
|
-
* <p>Location of a file containing the stack policy. The URL must point to a policy (maximum
|
10184
|
-
* size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for
|
10185
|
-
* an Amazon S3 bucket must start with <code>https://</code>. You can specify either the
|
10186
|
-
* <code>StackPolicyBody</code> or the <code>StackPolicyURL</code> parameter, but not
|
10187
|
-
* both.</p>
|
10188
|
-
* @public
|
10189
|
-
*/
|
10190
|
-
StackPolicyURL?: string | undefined;
|
10191
|
-
}
|
@@ -1,6 +1,196 @@
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
2
2
|
import { CloudFormationServiceException as __BaseException } from "./CloudFormationServiceException";
|
3
|
-
import { AutoDeployment, CallAs, Capability, DeploymentTargets, ManagedExecution, Parameter, PermissionModels, RegistryType, ResourceDefinition, RollbackConfiguration, StackSetOperationPreferences, Tag, TemplateConfiguration, ThirdPartyType } from "./models_0";
|
3
|
+
import { AutoDeployment, CallAs, Capability, DeploymentTargets, LoggingConfig, ManagedExecution, Parameter, PermissionModels, RegistryType, ResourceDefinition, RollbackConfiguration, StackSetOperationPreferences, Tag, TemplateConfiguration, ThirdPartyType } from "./models_0";
|
4
|
+
/**
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export interface RegisterTypeInput {
|
8
|
+
/**
|
9
|
+
* <p>The kind of extension.</p>
|
10
|
+
* @public
|
11
|
+
*/
|
12
|
+
Type?: RegistryType | undefined;
|
13
|
+
/**
|
14
|
+
* <p>The name of the extension being registered.</p>
|
15
|
+
* <p>We suggest that extension names adhere to the following patterns:</p>
|
16
|
+
* <ul>
|
17
|
+
* <li>
|
18
|
+
* <p>For resource types, <code>company_or_organization::service::type</code>.</p>
|
19
|
+
* </li>
|
20
|
+
* <li>
|
21
|
+
* <p>For modules, <code>company_or_organization::service::type::MODULE</code>.</p>
|
22
|
+
* </li>
|
23
|
+
* <li>
|
24
|
+
* <p>For hooks, <code>MyCompany::Testing::MyTestHook</code>.</p>
|
25
|
+
* </li>
|
26
|
+
* </ul>
|
27
|
+
* <note>
|
28
|
+
* <p>The following organization namespaces are reserved and can't be used in your extension
|
29
|
+
* names:</p>
|
30
|
+
* <ul>
|
31
|
+
* <li>
|
32
|
+
* <p>
|
33
|
+
* <code>Alexa</code>
|
34
|
+
* </p>
|
35
|
+
* </li>
|
36
|
+
* <li>
|
37
|
+
* <p>
|
38
|
+
* <code>AMZN</code>
|
39
|
+
* </p>
|
40
|
+
* </li>
|
41
|
+
* <li>
|
42
|
+
* <p>
|
43
|
+
* <code>Amazon</code>
|
44
|
+
* </p>
|
45
|
+
* </li>
|
46
|
+
* <li>
|
47
|
+
* <p>
|
48
|
+
* <code>AWS</code>
|
49
|
+
* </p>
|
50
|
+
* </li>
|
51
|
+
* <li>
|
52
|
+
* <p>
|
53
|
+
* <code>Custom</code>
|
54
|
+
* </p>
|
55
|
+
* </li>
|
56
|
+
* <li>
|
57
|
+
* <p>
|
58
|
+
* <code>Dev</code>
|
59
|
+
* </p>
|
60
|
+
* </li>
|
61
|
+
* </ul>
|
62
|
+
* </note>
|
63
|
+
* @public
|
64
|
+
*/
|
65
|
+
TypeName: string | undefined;
|
66
|
+
/**
|
67
|
+
* <p>A URL to the S3 bucket containing the extension project package that contains the
|
68
|
+
* necessary files for the extension you want to register.</p>
|
69
|
+
* <p>For information about generating a schema handler package for the extension you want to
|
70
|
+
* register, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html">submit</a> in
|
71
|
+
* the <i>CloudFormation Command Line Interface (CLI) User Guide</i>.</p>
|
72
|
+
* <note>
|
73
|
+
* <p>The user registering the extension must be able to access the package in the S3 bucket.
|
74
|
+
* That's, the user needs to have <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html">GetObject</a> permissions for the schema
|
75
|
+
* handler package. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html">Actions, Resources, and Condition Keys for
|
76
|
+
* Amazon S3</a> in the <i>Identity and Access Management User Guide</i>.</p>
|
77
|
+
* </note>
|
78
|
+
* @public
|
79
|
+
*/
|
80
|
+
SchemaHandlerPackage: string | undefined;
|
81
|
+
/**
|
82
|
+
* <p>Specifies logging configuration information for an extension.</p>
|
83
|
+
* @public
|
84
|
+
*/
|
85
|
+
LoggingConfig?: LoggingConfig | undefined;
|
86
|
+
/**
|
87
|
+
* <p>The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking
|
88
|
+
* the extension.</p>
|
89
|
+
* <p>For CloudFormation to assume the specified execution role, the role must contain a trust
|
90
|
+
* relationship with the CloudFormation service principal
|
91
|
+
* (<code>resources.cloudformation.amazonaws.com</code>). For more information about adding
|
92
|
+
* trust relationships, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy">Modifying a role trust policy</a> in the <i>Identity and Access Management User
|
93
|
+
* Guide</i>.</p>
|
94
|
+
* <p>If your extension calls Amazon Web Services APIs in any of its handlers, you must create an
|
95
|
+
* <i>
|
96
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM
|
97
|
+
* execution role</a>
|
98
|
+
* </i> that includes the necessary permissions to call those
|
99
|
+
* Amazon Web Services APIs, and provision that execution role in your account. When CloudFormation needs to invoke
|
100
|
+
* the resource type handler, CloudFormation assumes this execution role to create a temporary
|
101
|
+
* session token, which it then passes to the resource type handler, thereby supplying your
|
102
|
+
* resource type with the appropriate credentials.</p>
|
103
|
+
* @public
|
104
|
+
*/
|
105
|
+
ExecutionRoleArn?: string | undefined;
|
106
|
+
/**
|
107
|
+
* <p>A unique identifier that acts as an idempotency key for this registration request.
|
108
|
+
* Specifying a client request token prevents CloudFormation from generating more than one version of
|
109
|
+
* an extension from the same registration request, even if the request is submitted multiple
|
110
|
+
* times.</p>
|
111
|
+
* @public
|
112
|
+
*/
|
113
|
+
ClientRequestToken?: string | undefined;
|
114
|
+
}
|
115
|
+
/**
|
116
|
+
* @public
|
117
|
+
*/
|
118
|
+
export interface RegisterTypeOutput {
|
119
|
+
/**
|
120
|
+
* <p>The identifier for this registration request.</p>
|
121
|
+
* <p>Use this registration token when calling <a>DescribeTypeRegistration</a>, which
|
122
|
+
* returns information about the status and IDs of the extension registration.</p>
|
123
|
+
* @public
|
124
|
+
*/
|
125
|
+
RegistrationToken?: string | undefined;
|
126
|
+
}
|
127
|
+
/**
|
128
|
+
* @public
|
129
|
+
*/
|
130
|
+
export interface RollbackStackInput {
|
131
|
+
/**
|
132
|
+
* <p>The name that's associated with the stack.</p>
|
133
|
+
* @public
|
134
|
+
*/
|
135
|
+
StackName: string | undefined;
|
136
|
+
/**
|
137
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that CloudFormation assumes to rollback the
|
138
|
+
* stack.</p>
|
139
|
+
* @public
|
140
|
+
*/
|
141
|
+
RoleARN?: string | undefined;
|
142
|
+
/**
|
143
|
+
* <p>A unique identifier for this <code>RollbackStack</code> request.</p>
|
144
|
+
* @public
|
145
|
+
*/
|
146
|
+
ClientRequestToken?: string | undefined;
|
147
|
+
/**
|
148
|
+
* <p>When set to <code>true</code>, newly created resources are deleted when the operation
|
149
|
+
* rolls back. This includes newly created resources marked with a deletion policy of
|
150
|
+
* <code>Retain</code>.</p>
|
151
|
+
* <p>Default: <code>false</code>
|
152
|
+
* </p>
|
153
|
+
* @public
|
154
|
+
*/
|
155
|
+
RetainExceptOnCreate?: boolean | undefined;
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* @public
|
159
|
+
*/
|
160
|
+
export interface RollbackStackOutput {
|
161
|
+
/**
|
162
|
+
* <p>Unique identifier of the stack.</p>
|
163
|
+
* @public
|
164
|
+
*/
|
165
|
+
StackId?: string | undefined;
|
166
|
+
}
|
167
|
+
/**
|
168
|
+
* <p>The input for the <a>SetStackPolicy</a> action.</p>
|
169
|
+
* @public
|
170
|
+
*/
|
171
|
+
export interface SetStackPolicyInput {
|
172
|
+
/**
|
173
|
+
* <p>The name or unique stack ID that you want to associate a policy with.</p>
|
174
|
+
* @public
|
175
|
+
*/
|
176
|
+
StackName: string | undefined;
|
177
|
+
/**
|
178
|
+
* <p>Structure containing the stack policy body. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html">Prevent updates to stack resources</a> in the <i>CloudFormation User Guide</i>.
|
179
|
+
* You can specify either the <code>StackPolicyBody</code> or the <code>StackPolicyURL</code>
|
180
|
+
* parameter, but not both.</p>
|
181
|
+
* @public
|
182
|
+
*/
|
183
|
+
StackPolicyBody?: string | undefined;
|
184
|
+
/**
|
185
|
+
* <p>Location of a file containing the stack policy. The URL must point to a policy (maximum
|
186
|
+
* size: 16 KB) located in an Amazon S3 bucket in the same Amazon Web Services Region as the stack. The location for
|
187
|
+
* an Amazon S3 bucket must start with <code>https://</code>. You can specify either the
|
188
|
+
* <code>StackPolicyBody</code> or the <code>StackPolicyURL</code> parameter, but not
|
189
|
+
* both.</p>
|
190
|
+
* @public
|
191
|
+
*/
|
192
|
+
StackPolicyURL?: string | undefined;
|
193
|
+
}
|
4
194
|
/**
|
5
195
|
* @public
|
6
196
|
*/
|