@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.926Z") @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.