CfnCapabilities¶
-
class
aws_cdk.core.
CfnCapabilities
(value)¶ Bases:
enum.Enum
Capabilities that affect whether CloudFormation is allowed to change IAM resources.
Attributes
-
ANONYMOUS_IAM
¶ Capability to create anonymous IAM resources.
Pass this capability if you’re only creating anonymous resources.
-
AUTO_EXPAND
¶ Capability to run CloudFormation macros.
Pass this capability if your template includes macros, for example AWS::Include or AWS::Serverless.
-
NAMED_IAM
¶ Capability to create named IAM resources.
Pass this capability if you’re creating IAM resources that have physical names.
CloudFormationCapabilities.NamedIAM
impliesCloudFormationCapabilities.IAM
; you don’t have to pass both.
-
NONE
¶ No IAM Capabilities.
Pass this capability if you wish to block the creation IAM resources.
-