AddToPrincipalPolicyResult
- class aws_cdk.aws_iam.AddToPrincipalPolicyResult(*, statement_added, policy_dependable=None)
- Bases: - object- Result of calling - addToPrincipalPolicy.- Parameters:
- statement_added ( - bool) – Whether the statement was added to the identity’s policies.
- policy_dependable ( - Optional[- IDependable]) – Dependable which allows depending on the policy change being applied. Default: - Required if- statementAddedis true.
 
- ExampleMetadata:
- fixture=_generated 
 - Example: - # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_iam as iam import constructs as constructs # dependable: constructs.IDependable add_to_principal_policy_result = iam.AddToPrincipalPolicyResult( statement_added=False, # the properties below are optional policy_dependable=dependable ) - Attributes - policy_dependable
- Dependable which allows depending on the policy change being applied. - Default:
- Required if - statementAddedis true.
 
 
 - statement_added
- Whether the statement was added to the identity’s policies.