nm_iam_effect()

DESCRIPTION

Enum defining the effect of statements. The enum is also used to define the result of an evaluated statement. This is the purpose of the NO_MATCH and ERROR values. Only ALLOW and DENY should be used as configuration for a statement.

ALLOW: Actions in this statement should be allowed JSON representation: { "Effect": "Allow" }

DENY: Actions in this statement should be denied JSON representation: { "Effect": "Deny" }

NO_MATCH: Internal only: used to indicate the action was not covered by the statement JSON representation: N/A, not used for configuration

ERROR Internal only: an error occured during evaluation JSON representation: N/A, not used for configuration

DECLARATION

enum nm_iam_effect {
    NM_IAM_EFFECT_ALLOW,
    NM_IAM_EFFECT_DENY,
    NM_IAM_EFFECT_NO_MATCH,
    NM_IAM_EFFECT_ERROR
}