UNPKG

1.54 kBTypeScriptView Raw
1/**
2 * Capabilities that affect whether CloudFormation is allowed to change IAM resources
3 * @deprecated use `core.CfnCapabilities`
4 */
5export declare enum CloudFormationCapabilities {
6 /**
7 * No IAM Capabilities
8 *
9 * Pass this capability if you wish to block the creation IAM resources.
10 * @link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
11 */
12 NONE = "",
13 /**
14 * Capability to create anonymous IAM resources
15 *
16 * Pass this capability if you're only creating anonymous resources.
17 * @link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
18 */
19 ANONYMOUS_IAM = "CAPABILITY_IAM",
20 /**
21 * Capability to create named IAM resources.
22 *
23 * Pass this capability if you're creating IAM resources that have physical
24 * names.
25 *
26 * `CloudFormationCapabilities.NamedIAM` implies `CloudFormationCapabilities.IAM`; you don't have to pass both.
27 * @link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities
28 */
29 NAMED_IAM = "CAPABILITY_NAMED_IAM",
30 /**
31 * Capability to run CloudFormation macros
32 *
33 * Pass this capability if your template includes macros, for example AWS::Include or AWS::Serverless.
34 *
35 * @link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
36 */
37 AUTO_EXPAND = "CAPABILITY_AUTO_EXPAND"
38}