Interface AddToPrincipalPolicyResult
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AddToPrincipalPolicyResult.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.220Z")
@Stability(Stable)
public interface AddToPrincipalPolicyResult
extends software.amazon.jsii.JsiiSerializable
Result of calling
addToPrincipalPolicy
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAddToPrincipalPolicyResult
static final class
An implementation forAddToPrincipalPolicyResult
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default IDependable
Dependable which allows depending on the policy change being applied.Whether the statement was added to the identity's policies.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatementAdded
Whether the statement was added to the identity's policies. -
getPolicyDependable
Dependable which allows depending on the policy change being applied.Default: - Required if `statementAdded` is true.
-
builder
- Returns:
- a
AddToPrincipalPolicyResult.Builder
ofAddToPrincipalPolicyResult
-