@Stability(value=Stable) @Internal public static final class PolicyDocumentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PolicyDocumentProps
PolicyDocumentPropssoftware.amazon.jsii.JsiiObject.InitializationModePolicyDocumentProps.Builder, PolicyDocumentProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(PolicyDocumentProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
PolicyDocumentProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAssignSids()
Automatically assign Statement Ids to all statements.
|
Boolean |
getMinimize()
Try to minimize the policy by merging statements.
|
List<PolicyStatement> |
getStatements()
Initial statements to add to the policy document.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(PolicyDocumentProps.Builder builder)
PolicyDocumentProps.Builder.public final Boolean getAssignSids()
PolicyDocumentPropsDefault: false
getAssignSids in interface PolicyDocumentPropspublic final Boolean getMinimize()
PolicyDocumentPropsTo avoid overrunning the maximum policy size, combine statements if they produce the same result. Merging happens according to the following rules:
Default: - false, unless the feature flag `@aws-cdk/aws-iam:minimizePolicies` is set
getMinimize in interface PolicyDocumentPropspublic final List<PolicyStatement> getStatements()
PolicyDocumentPropsDefault: - No statements
getStatements in interface PolicyDocumentProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.