@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.402Z") @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.htmlpublic 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.