Package software.amazon.awscdk
Enum CfnCapabilities
- All Implemented Interfaces:
Serializable
,Comparable<CfnCapabilities>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:50:51.754Z")
@Stability(Stable)
public enum CfnCapabilities
extends Enum<CfnCapabilities>
Capabilities that affect whether CloudFormation is allowed to change IAM resources.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCapability to create anonymous IAM resources.Capability to run CloudFormation macros.Capability to create named IAM resources.No IAM Capabilities. -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCapabilities
Returns the enum constant of this type with the specified name.static CfnCapabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
impliesCloudFormationCapabilities.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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-