Interface AddToPrincipalPolicyResult

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-06T04:49:39.491Z") @Stability(Stable) public interface AddToPrincipalPolicyResult extends
Result of calling addToPrincipalPolicy.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.constructs.*;
 IDependable dependable;
 AddToPrincipalPolicyResult addToPrincipalPolicyResult = AddToPrincipalPolicyResult.builder()
         // the properties below are optional
  • Method Details

    • getStatementAdded

      @Stability(Stable) @NotNull Boolean getStatementAdded()
      Whether the statement was added to the identity's policies.
    • getPolicyDependable

      @Stability(Stable) @Nullable default software.constructs.IDependable getPolicyDependable()
      Dependable which allows depending on the policy change being applied.

      Default: - Required if `statementAdded` is true.

    • builder

      @Stability(Stable) static AddToPrincipalPolicyResult.Builder builder()
      a AddToPrincipalPolicyResult.Builder of AddToPrincipalPolicyResult