Effect

class aws_cdk.aws_iam.Effect(value)

Bases: enum.Enum

The Effect element of an IAM policy.

See

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_effect.html

Attributes

ALLOW

Allows access to a resource in an IAM policy statement.

By default, access to resources are denied.

DENY

Explicitly deny access to a resource.

By default, all requests are denied implicitly.

See

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html