@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:50.019Z") @Stability(value=Experimental) public interface AddToPrincipalPolicyResult extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.iam.*;
IDependable dependable;
AddToPrincipalPolicyResult addToPrincipalPolicyResult = AddToPrincipalPolicyResult.builder()
.statementAdded(false)
// the properties below are optional
.policyDependable(dependable)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AddToPrincipalPolicyResult.Builder
A builder for
AddToPrincipalPolicyResult |
static class |
AddToPrincipalPolicyResult.Jsii$Proxy
An implementation for
AddToPrincipalPolicyResult |
| Modifier and Type | Method and Description |
|---|---|
static AddToPrincipalPolicyResult.Builder |
builder() |
default IDependable |
getPolicyDependable()
(experimental) Dependable which allows depending on the policy change being applied.
|
Boolean |
getStatementAdded()
(experimental) Whether the statement was added to the identity's policies.
|
@Stability(value=Experimental) @NotNull Boolean getStatementAdded()
@Stability(value=Experimental) @Nullable default IDependable getPolicyDependable()
Default: - Required if `statementAdded` is true.
@Stability(value=Experimental) static AddToPrincipalPolicyResult.Builder builder()
AddToPrincipalPolicyResult.Builder of AddToPrincipalPolicyResultCopyright © 2022. All rights reserved.