Enum CloudFormationCapabilities

java.lang.Object
java.lang.Enum<CloudFormationCapabilities>
software.amazon.awscdk.services.cloudformation.CloudFormationCapabilities
All Implemented Interfaces:
Serializable, Comparable<CloudFormationCapabilities>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.598Z") @Stability(Deprecated) @Deprecated public enum CloudFormationCapabilities extends Enum<CloudFormationCapabilities>
Deprecated.
use core.CfnCapabilities
(deprecated) Capabilities that affect whether CloudFormation is allowed to change IAM resources.

  • Enum Constant Details

    • NONE

      @Stability(Deprecated) @Deprecated public static final CloudFormationCapabilities NONE
      Deprecated.
      (deprecated) No IAM Capabilities.

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

    • ANONYMOUS_IAM

      @Stability(Deprecated) @Deprecated public static final CloudFormationCapabilities ANONYMOUS_IAM
      Deprecated.
      (deprecated) Capability to create anonymous IAM resources.

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

    • NAMED_IAM

      @Stability(Deprecated) @Deprecated public static final CloudFormationCapabilities NAMED_IAM
      Deprecated.
      (deprecated) 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(Deprecated) @Deprecated public static final CloudFormationCapabilities AUTO_EXPAND
      Deprecated.
      (deprecated) 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 CloudFormationCapabilities[] values()
      Deprecated.
      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 CloudFormationCapabilities valueOf(String name)
      Deprecated.
      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