Enum CfnCapabilities

All Implemented Interfaces:
Serializable, Comparable<CfnCapabilities>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.821Z") @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.


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

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


      @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.


      @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.
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null