Class FromRoleArnOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.FromRoleArnOptions.Jsii$Proxy
All Implemented Interfaces:
FromRoleArnOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
FromRoleArnOptions

@Stability(Stable) @Internal public static final class FromRoleArnOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FromRoleArnOptions
An implementation for FromRoleArnOptions
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.FromRoleArnOptions

    FromRoleArnOptions.Builder, FromRoleArnOptions.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the FromRoleArnOptions.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Boolean
    For immutable roles: add grants to resources instead of dropping them.
    final String
    Any policies created by this role will use this value as their ID, if specified.
    final Boolean
    Whether the imported role can be modified by attaching policy resources to it.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

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

    • getAddGrantsToResources

      public final Boolean getAddGrantsToResources()
      Description copied from interface: FromRoleArnOptions
      For immutable roles: add grants to resources instead of dropping them.

      If this is false or not specified, grant permissions added to this role are ignored. It is your own responsibility to make sure the role has the required permissions.

      If this is true, any grant permissions will be added to the resource instead.

      Default: false

      Specified by:
      getAddGrantsToResources in interface FromRoleArnOptions
    • getDefaultPolicyName

      public final String getDefaultPolicyName()
      Description copied from interface: FromRoleArnOptions
      Any policies created by this role will use this value as their ID, if specified.

      Specify this if importing the same role in multiple stacks, and granting it different permissions in at least two stacks. If this is not specified (or if the same name is specified in more than one stack), a CloudFormation issue will result in the policy created in whichever stack is deployed last overwriting the policies created by the others.

      Default: 'Policy'

      Specified by:
      getDefaultPolicyName in interface FromRoleArnOptions
    • getMutable

      public final Boolean getMutable()
      Description copied from interface: FromRoleArnOptions
      Whether the imported role can be modified by attaching policy resources to it.

      Default: true

      Specified by:
      getMutable in interface FromRoleArnOptions
    • $jsii$toJson

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

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

      public final int hashCode()
      Overrides:
      hashCode in class Object