@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-20T22:19:52.905Z") public enum CfnCapabilities extends java.lang.Enum<CfnCapabilities>
Enum Constant and Description |
---|
ANONYMOUS_IAM
Capability to create anonymous IAM resources.
|
AUTO_EXPAND
Capability to run CloudFormation macros.
|
NAMED_IAM
Capability to create named IAM resources.
|
NONE
No IAM Capabilities.
|
Modifier and Type | Method and Description |
---|---|
static CfnCapabilities |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CfnCapabilities[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CfnCapabilities NONE
Pass this capability if you wish to block the creation IAM resources.
public static final CfnCapabilities ANONYMOUS_IAM
Pass this capability if you're only creating anonymous resources.
public static final CfnCapabilities NAMED_IAM
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.
public static final CfnCapabilities AUTO_EXPAND
Pass this capability if your template includes macros, for example AWS::Include or AWS::Serverless.
public static CfnCapabilities[] values()
for (CfnCapabilities c : CfnCapabilities.values()) System.out.println(c);
public static CfnCapabilities valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null