Interface IamEffect
-
- All Superinterfaces:
IamValue
- All Known Implementing Classes:
DefaultIamEffect
@ThreadSafe public interface IamEffect extends IamValue
TheEffectelement of aIamStatement, specifying whether the statement should ALLOW or DENY certain actions.- See Also:
- Effect user guide
-
-
Field Summary
Fields Modifier and Type Field Description static IamEffectALLOWTheIamStatementto which this effect is attached should ALLOW the actions described in the policy, and DENY everything else.static IamEffectDENYTheIamStatementto which this effect is attached should DENY the actions described in the policy.
-
-
-
Field Detail
-
ALLOW
static final IamEffect ALLOW
TheIamStatementto which this effect is attached should ALLOW the actions described in the policy, and DENY everything else.
-
DENY
static final IamEffect DENY
TheIamStatementto 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.
-
-
Method Detail
-
create
static IamEffect create(String value)
Create a newIamEffectelement with the providedIamValue.value().
-
-