enum CfnCapabilities
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnCapabilities |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnCapabilities |
Java | software.amazon.awscdk.CfnCapabilities |
Python | aws_cdk.CfnCapabilities |
TypeScript (source) | aws-cdk-lib » CfnCapabilities |
Capabilities that affect whether CloudFormation is allowed to change IAM resources.
Members
Name | Description |
---|---|
NONE | No IAM Capabilities. |
ANONYMOUS_IAM | Capability to create anonymous IAM resources. |
NAMED_IAM | Capability to create named IAM resources. |
AUTO_EXPAND | Capability 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.