Class CfnCapabilities
Capabilities that affect whether CloudFormation is allowed to change IAM resources.
Inheritance
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class CfnCapabilities : Enum
Syntax (vb)
Public NotInheritable Class CfnCapabilities
Inherits
Enum
Synopsis
Fields
ANONYMOUS_IAM | Capability to create anonymous IAM resources. |
AUTO_EXPAND | Capability to run CloudFormation macros. |
NAMED_IAM | Capability to create named IAM resources. |
NONE | No IAM Capabilities. |
value__ |
Fields
ANONYMOUS_IAM
Capability to create anonymous IAM resources.
public const CfnCapabilities ANONYMOUS_IAM
Field Value
Type | Description |
---|---|
CfnCapabilities |
Remarks
Pass this capability if you're only creating anonymous resources.
AUTO_EXPAND
Capability to run CloudFormation macros.
public const CfnCapabilities AUTO_EXPAND
Field Value
Type | Description |
---|---|
CfnCapabilities |
Remarks
Pass this capability if your template includes macros, for example AWS::Include or AWS::Serverless.
Link: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStack.html
NAMED_IAM
Capability to create named IAM resources.
public const CfnCapabilities NAMED_IAM
Field Value
Type | Description |
---|---|
CfnCapabilities |
Remarks
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.
NONE
No IAM Capabilities.
public const CfnCapabilities NONE
Field Value
Type | Description |
---|---|
CfnCapabilities |
Remarks
Pass this capability if you wish to block the creation IAM resources.
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |