Enum CfnCapabilities

java.lang.Object
java.lang.Enum<CfnCapabilities>
software.amazon.awscdk.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.
  • Enum Constant Details

    • NONE

      @Stability(Stable) public static final CfnCapabilities NONE
      No IAM Capabilities.

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

    • ANONYMOUS_IAM

      @Stability(Stable) public static final CfnCapabilities ANONYMOUS_IAM
      Capability to create anonymous IAM resources.

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

    • NAMED_IAM

      @Stability(Stable) public static final CfnCapabilities 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

      @Stability(Stable) public static final CfnCapabilities 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

      public static CfnCapabilities[] 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

      public static CfnCapabilities valueOf(String name)
      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 name
      NullPointerException - if the argument is null