@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.252Z") @Stability(value=Experimental) public enum Effect extends Enum<Effect>
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_effect.html
Enum Constant and Description |
---|
ALLOW
(experimental) Allows access to a resource in an IAM policy statement.
|
DENY
(experimental) Explicitly deny access to a resource.
|
Modifier and Type | Method and Description |
---|---|
static Effect |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Effect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final Effect ALLOW
By default, access to resources are denied.
@Stability(value=Experimental) public static final Effect DENY
By default, all requests are denied implicitly.
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html
public static Effect[] values()
for (Effect c : Effect.values()) System.out.println(c);
public static Effect valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021. All rights reserved.