CloudFormationCapabilities

class aws_cdk.aws_cloudformation.CloudFormationCapabilities(value)

Bases: Enum

(deprecated) Capabilities that affect whether CloudFormation is allowed to change IAM resources.

Deprecated:

use core.CfnCapabilities

Stability:

deprecated

Attributes

ANONYMOUS_IAM

(deprecated) Capability to create anonymous IAM resources.

Pass this capability if you’re only creating anonymous resources.

Stability:

deprecated

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities

AUTO_EXPAND

(deprecated) Capability to run CloudFormation macros.

Pass this capability if your template includes macros, for example AWS::Include or AWS::Serverless.

Stability:

deprecated

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html

NAMED_IAM

(deprecated) Capability to create named IAM resources.

Pass this capability if you’re creating IAM resources that have physical names.

CloudFormationCapabilities.NamedIAM implies CloudFormationCapabilities.IAM; you don’t have to pass both.

Stability:

deprecated

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities

NONE

(deprecated) No IAM Capabilities.

Pass this capability if you wish to block the creation IAM resources.

Stability:

deprecated

Link:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-iam-template.html#using-iam-capabilities