Package io.github.cdklabs.projen.awscdk
Enum ApprovalLevel
- java.lang.Object
-
- java.lang.Enum<ApprovalLevel>
-
- io.github.cdklabs.projen.awscdk.ApprovalLevel
-
- All Implemented Interfaces:
Serializable,Comparable<ApprovalLevel>
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.820Z") @Stability(Experimental) public enum ApprovalLevel extends Enum<ApprovalLevel>
(experimental) Which approval is required when deploying CDK apps.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY_CHANGE(experimental) Requires approval on any IAM or security-group-related change.BROADENING(experimental) Requires approval when IAM statements or traffic rules are added;NEVER(experimental) Approval is never required.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApprovalLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static ApprovalLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
@Stability(Experimental) public static final ApprovalLevel NEVER
(experimental) Approval is never required.
-
ANY_CHANGE
@Stability(Experimental) public static final ApprovalLevel ANY_CHANGE
(experimental) Requires approval on any IAM or security-group-related change.
-
BROADENING
@Stability(Experimental) public static final ApprovalLevel BROADENING
(experimental) Requires approval when IAM statements or traffic rules are added;removals don't require approval
-
-
Method Detail
-
values
public static ApprovalLevel[] 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 (ApprovalLevel c : ApprovalLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApprovalLevel 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
-
-