@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:46.784Z")
public interface AddToPrincipalPolicyResult
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.
|
java.lang.Boolean |
getStatementAdded()
Whether the statement was added to the identity's policies.
|
java.lang.Boolean getStatementAdded()
default IDependable getPolicyDependable()
Default: - Required if `statementAdded` is true.
static AddToPrincipalPolicyResult.Builder builder()
AddToPrincipalPolicyResult.Builder
of AddToPrincipalPolicyResult