Enum StackCapabilities
- java.lang.Object
-
- java.lang.Enum<StackCapabilities>
-
- io.github.cdklabs.cdkpipelines.github.StackCapabilities
-
- All Implemented Interfaces:
Serializable,Comparable<StackCapabilities>
@Generated(value="jsii-pacmak/1.62.0 (build 293ac17)", date="2022-07-16T00:20:23.478Z") @Stability(Stable) public enum StackCapabilities extends Enum<StackCapabilities>
Acknowledge IAM resources in AWS CloudFormation templates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_EXPANDAcknowledge your stack contains one or more macros.IAMAcknowledge your stack includes IAM resources.NAMED_IAMAcknowledge your stack includes custom names for IAM resources.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StackCapabilitiesvalueOf(String name)Returns the enum constant of this type with the specified name.static StackCapabilities[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
-