Class PolicyDocumentProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class PolicyDocumentProps.Jsii$Proxy extends implements PolicyDocumentProps
An implementation for PolicyDocumentProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(PolicyDocumentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the PolicyDocumentProps.Builder.
  • Method Details

    • getAssignSids

      public final Boolean getAssignSids()
      Description copied from interface: PolicyDocumentProps
      Automatically assign Statement Ids to all statements.

      Default: false

      Specified by:
      getAssignSids in interface PolicyDocumentProps
    • getMinimize

      public final Boolean getMinimize()
      Description copied from interface: PolicyDocumentProps
      Try 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:
      getMinimize in interface PolicyDocumentProps
    • getStatements

      public final List<PolicyStatement> getStatements()
      Description copied from interface: PolicyDocumentProps
      Initial statements to add to the policy document.

      Default: - No statements

      Specified by:
      getStatements in interface PolicyDocumentProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object