Class CosBackendAssumeRole.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.CosBackendAssumeRole.Jsii$Proxy
All Implemented Interfaces:
CosBackendAssumeRole, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CosBackendAssumeRole

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

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

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface com.hashicorp.cdktf.CosBackendAssumeRole

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CosBackendAssumeRole.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 Object
    (experimental) (Optional) A more restrictive policy when making the AssumeRole call.
    final String
    (experimental) (Required) The ARN of the role to assume.
    final Number
    (experimental) (Required) The duration of the session when making the AssumeRole call.
    final String
    (experimental) (Required) The session name to use when making the AssumeRole call.
    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(CosBackendAssumeRole.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CosBackendAssumeRole.Builder.
  • Method Details

    • getRoleArn

      public final String getRoleArn()
      Description copied from interface: CosBackendAssumeRole
      (experimental) (Required) The ARN of the role to assume.

      It can be sourced from the TENCENTCLOUD_ASSUME_ROLE_ARN.

      Specified by:
      getRoleArn in interface CosBackendAssumeRole
    • getSessionDuration

      public final Number getSessionDuration()
      Description copied from interface: CosBackendAssumeRole
      (experimental) (Required) The duration of the session when making the AssumeRole call.

      Its value ranges from 0 to 43200(seconds), and default is 7200 seconds. It can be sourced from the TENCENTCLOUD_ASSUME_ROLE_SESSION_DURATION.

      Specified by:
      getSessionDuration in interface CosBackendAssumeRole
    • getSessionName

      public final String getSessionName()
      Description copied from interface: CosBackendAssumeRole
      (experimental) (Required) The session name to use when making the AssumeRole call.

      It can be sourced from the TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME.

      Specified by:
      getSessionName in interface CosBackendAssumeRole
    • getPolicy

      public final Object getPolicy()
      Description copied from interface: CosBackendAssumeRole
      (experimental) (Optional) A more restrictive policy when making the AssumeRole call.

      Its content must not contains principal elements. Please refer to

      invalid @link
      {@link https://www.tencentcloud.com/document/product/598/10603
      policies syntax logic}.
      Specified by:
      getPolicy in interface CosBackendAssumeRole
    • $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