Interface IamEffect

All Superinterfaces:
IamValue
All Known Implementing Classes:
DefaultIamEffect

@ThreadSafe public interface IamEffect extends IamValue
The Effect element of a IamStatement, specifying whether the statement should ALLOW or DENY certain actions.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IamEffect
    The IamStatement to which this effect is attached should ALLOW the actions described in the policy, and DENY everything else.
    static final IamEffect
    The IamStatement to which this effect is attached should DENY the actions described in the policy.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static IamEffect
    create(String value)
    Create a new IamEffect element with the provided IamValue.value().

    Methods inherited from interface software.amazon.awssdk.policybuilder.iam.IamValue

    value
  • Field Details

    • ALLOW

      static final IamEffect ALLOW
      The IamStatement to which this effect is attached should ALLOW the actions described in the policy, and DENY everything else.
    • DENY

      static final IamEffect DENY
      The 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.
  • Method Details