AddToPrincipalPolicyResult

class aws_cdk.aws_iam.AddToPrincipalPolicyResult(*, statement_added, policy_dependable=None)

Bases: object

Result of calling addToPrincipalPolicy.

Parameters
  • statement_added (bool) – (experimental) Whether the statement was added to the identity’s policies.

  • policy_dependable (Optional[IDependable]) – (experimental) Dependable which allows depending on the policy change being applied. Default: - Required if statementAdded is true.

Attributes

policy_dependable

(experimental) Dependable which allows depending on the policy change being applied.

Default
  • Required if statementAdded is true.

Stability

experimental

Return type

Optional[IDependable]

statement_added

(experimental) Whether the statement was added to the identity’s policies.

Stability

experimental

Return type

bool