UNPKG

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