Enum StackCapabilities

    • Enum Constant Detail

      • IAM

        @Stability(Stable)
        public static final StackCapabilities IAM
        Acknowledge your stack includes IAM resources.
      • NAMED_IAM

        @Stability(Stable)
        public static final StackCapabilities NAMED_IAM
        Acknowledge your stack includes custom names for IAM resources.
      • AUTO_EXPAND

        @Stability(Stable)
        public static final StackCapabilities AUTO_EXPAND
        Acknowledge your stack contains one or more macros.
    • Method Detail

      • values

        public static StackCapabilities[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StackCapabilities c : StackCapabilities.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StackCapabilities 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