Class PolicyDocumentProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.PolicyDocumentProps.Jsii$Proxy
- All Implemented Interfaces:
PolicyDocumentProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
PolicyDocumentProps
@Stability(Stable)
@Internal
public static final class PolicyDocumentProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements PolicyDocumentProps
An implementation for
PolicyDocumentProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.PolicyDocumentProps
PolicyDocumentProps.Builder, PolicyDocumentProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(PolicyDocumentProps.Builder builder) Constructor that initializes the object based on literal property values passed by thePolicyDocumentProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanAutomatically assign Statement Ids to all statements.final BooleanTry to minimize the policy by merging statements.final List<PolicyStatement> Initial statements to add to the policy document.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by thePolicyDocumentProps.Builder.
-
-
Method Details
-
getAssignSids
Description copied from interface:PolicyDocumentPropsAutomatically assign Statement Ids to all statements.Default: false
- Specified by:
getAssignSidsin interfacePolicyDocumentProps
-
getMinimize
Description copied from interface:PolicyDocumentPropsTry to minimize the policy by merging statements.To avoid overrunning the maximum policy size, combine statements if they produce the same result. Merging happens according to the following rules:
- The Effect of both statements is the same
- Neither of the statements have a 'Sid'
- Combine Principals if the rest of the statement is exactly the same.
- Combine Resources if the rest of the statement is exactly the same.
- Combine Actions if the rest of the statement is exactly the same.
- We will never combine NotPrincipals, NotResources or NotActions, because doing so would change the meaning of the policy document.
Default: - false, unless the feature flag `@aws-cdk/aws-iam:minimizePolicies` is set
- Specified by:
getMinimizein interfacePolicyDocumentProps
-
getStatements
Description copied from interface:PolicyDocumentPropsInitial statements to add to the policy document.Default: - No statements
- Specified by:
getStatementsin interfacePolicyDocumentProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-