Interface CosBackendAssumeRole

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CosBackendAssumeRole.Jsii$Proxy

@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)", date="2024-01-15T15:38:00.855Z") @Stability(Experimental) public interface CosBackendAssumeRole extends software.amazon.jsii.JsiiSerializable
  • Method Details

    • getRoleArn

      @Stability(Experimental) @NotNull String getRoleArn()
      (experimental) (Required) The ARN of the role to assume.

      It can be sourced from the TENCENTCLOUD_ASSUME_ROLE_ARN.

    • getSessionDuration

      @Stability(Experimental) @NotNull Number getSessionDuration()
      (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.

    • getSessionName

      @Stability(Experimental) @NotNull String getSessionName()
      (experimental) (Required) The session name to use when making the AssumeRole call.

      It can be sourced from the TENCENTCLOUD_ASSUME_ROLE_SESSION_NAME.

    • getPolicy

      @Stability(Experimental) @Nullable default Object getPolicy()
      (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}.
    • builder

      @Stability(Experimental) static CosBackendAssumeRole.Builder builder()
      Returns:
      a CosBackendAssumeRole.Builder of CosBackendAssumeRole