@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.713Z") @Stability(value=Stable) 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.services.iam.*;
import software.constructs.*;
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 software.constructs.IDependable |
getPolicyDependable()
Dependable which allows depending on the policy change being applied.
|
Boolean |
getStatementAdded()
Whether the statement was added to the identity's policies.
|
@Stability(value=Stable) @NotNull Boolean getStatementAdded()
@Stability(value=Stable) @Nullable default software.constructs.IDependable getPolicyDependable()
Default: - Required if `statementAdded` is true.
@Stability(value=Stable) static AddToPrincipalPolicyResult.Builder builder()
AddToPrincipalPolicyResult.Builder of AddToPrincipalPolicyResultCopyright © 2022. All rights reserved.