@ThreadSafe public interface IamEffect extends IamValue
Effect element of a IamStatement, specifying whether the statement should ALLOW or DENY certain actions.| Modifier and Type | Field and Description |
|---|---|
static IamEffect |
ALLOW
The
IamStatement to which this effect is attached should ALLOW the actions described in the policy, and DENY
everything else. |
static IamEffect |
DENY
The
IamStatement to which this effect is attached should DENY the actions described in the policy. |
| Modifier and Type | Method and Description |
|---|---|
static IamEffect |
create(String value)
Create a new
IamEffect element with the provided IamValue.value(). |
static final IamEffect ALLOW
IamStatement to which this effect is attached should ALLOW the actions described in the policy, and DENY
everything else.static final IamEffect DENY
IamStatement to which this effect is attached should DENY the actions described in the policy. This takes
precedence over any other ALLOW statements. See the
policy evaluation
logic guide for more information on how to use the DENY effect.static IamEffect create(String value)
IamEffect element with the provided IamValue.value().Copyright © 2023. All rights reserved.