aws-cdk-lib.CfnCapabilities

enum CfnCapabilities

LanguageType name
.NETAmazon.CDK.CfnCapabilities
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnCapabilities
Javasoftware.amazon.awscdk.CfnCapabilities
Pythonaws_cdk.CfnCapabilities
TypeScript (source)aws-cdk-lib » CfnCapabilities

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

Members

NameDescription
NONENo IAM Capabilities.
ANONYMOUS_IAMCapability to create anonymous IAM resources.
NAMED_IAMCapability to create named IAM resources.
AUTO_EXPANDCapability to run CloudFormation macros.

NONE

No IAM Capabilities.

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


ANONYMOUS_IAM

Capability to create anonymous IAM resources.

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


NAMED_IAM

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.


AUTO_EXPAND

Capability to run CloudFormation macros.

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