Interface IdentityContextStatus.Builder

  • Method Details

    • status

      The identity context has one of the following statuses:

      • ACTIVE – Scheduled runs can carry the identity context.

      • EXPIRED – Scheduled runs can't carry the identity context, and they fail until you update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.

      Parameters:
      status - The identity context has one of the following statuses:

      • ACTIVE – Scheduled runs can carry the identity context.

      • EXPIRED – Scheduled runs can't carry the identity context, and they fail until you update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The identity context has one of the following statuses:

      • ACTIVE – Scheduled runs can carry the identity context.

      • EXPIRED – Scheduled runs can't carry the identity context, and they fail until you update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.

      Parameters:
      status - The identity context has one of the following statuses:

      • ACTIVE – Scheduled runs can carry the identity context.

      • EXPIRED – Scheduled runs can't carry the identity context, and they fail until you update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      This message explains why Status is EXPIRED, for example because the identity context reached its maximum lifetime or was revoked. Amazon Managed Workflows for Apache Airflow Serverless returns this field only when Status is EXPIRED.

      Parameters:
      reason - This message explains why Status is EXPIRED, for example because the identity context reached its maximum lifetime or was revoked. Amazon Managed Workflows for Apache Airflow Serverless returns this field only when Status is EXPIRED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      IdentityContextStatus.Builder expiresAt(Instant expiresAt)

      This value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time format. Amazon Managed Workflows for Apache Airflow Serverless can't renew the identity context past this time. For IAM Identity Center users, the background session duration that you configure sets this limit. To extend it, update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again.

      Parameters:
      expiresAt - This value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time format. Amazon Managed Workflows for Apache Airflow Serverless can't renew the identity context past this time. For IAM Identity Center users, the background session duration that you configure sets this limit. To extend it, update the workflow with OnBehalfOf set to ORIGIN_IDENTITY again.
      Returns:
      Returns a reference to this object so that method calls can be chained together.