Interface S3BackendAssumeRoleWithWebIdentityConfig

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

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

    • getDuration

      @Stability(Experimental) @Nullable default String getDuration()
      (experimental) (Optional) The duration individual credentials will be valid.

      Credentials are automatically renewed up to the maximum defined by the AWS account. Specified using the format hms with any unit being optional. For example, an hour and a half can be specified as 1h30m or 90m. Must be between 15 minutes (15m) and 12 hours (12h).

    • getPolicy

      @Stability(Experimental) @Nullable default String getPolicy()
      (experimental) (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
    • getPolicyArns

      @Stability(Experimental) @Nullable default List<String> getPolicyArns()
      (experimental) (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
    • getRoleArn

      @Stability(Experimental) @Nullable default String getRoleArn()
      (experimental) (Required) Amazon Resource Name (ARN) of the IAM Role to assume.

      Can also be set with the AWS_ROLE_ARN environment variable.

    • getSessionName

      @Stability(Experimental) @Nullable default String getSessionName()
      (experimental) (Optional) Session name to use when assuming the role.

      Can also be set with the AWS_ROLE_SESSION_NAME environment variable.

    • getWebIdentityToken

      @Stability(Experimental) @Nullable default String getWebIdentityToken()
      (experimental) (Optional) The value of a web identity token from an OpenID Connect (OIDC) or OAuth provider.

      One of web_identity_token or web_identity_token_file is required.

    • getWebIdentityTokenFile

      @Stability(Experimental) @Nullable default String getWebIdentityTokenFile()
      (experimental) (Optional) File containing a web identity token from an OpenID Connect (OIDC) or OAuth provider.

      One of web_identity_token_file or web_identity_token is required. Can also be set with the AWS_WEB_IDENTITY_TOKEN_FILE environment variable.

    • builder

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