@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:08:45.875Z") @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.amazon.awscdk.core.*; 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()
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 IDependable getPolicyDependable()
Default: - Required if `statementAdded` is true.
@Stability(value=Stable) static AddToPrincipalPolicyResult.Builder builder()
AddToPrincipalPolicyResult.Builder
of AddToPrincipalPolicyResult
Copyright © 2023. All rights reserved.