AddToResourcePolicyResult¶
-
class
aws_cdk.aws_iam.
AddToResourcePolicyResult
(*, statement_added, policy_dependable=None)¶ Bases:
object
Result of calling addToResourcePolicy.
- Parameters
statement_added (
bool
) – Whether the statement was added.policy_dependable (
Optional
[IDependable
]) – Dependable which allows depending on the policy change being applied. Default: - IfstatementAdded
is true, the resource object itself. Otherwise, no dependable.
Attributes
-
policy_dependable
¶ Dependable which allows depending on the policy change being applied.
- Default
If
statementAdded
is true, the resource object itself.
Otherwise, no dependable.
- Return type
Optional
[IDependable
]
-
statement_added
¶ Whether the statement was added.
- Return type
bool