Class: Aws::MWAAServerless::Types::IdentityContextStatus

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb

Overview

Describes whether scheduled runs of a workflow version can still carry the identity context from the request that created that version. Amazon Managed Workflows for Apache Airflow Serverless returns this information only for workflows that have OnBehalfOf set to ORIGIN_IDENTITY.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expires_at ⇒ Time

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:

  • (Time)


831
832
833
834
835
836
837
# File 'gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb', line 831

class IdentityContextStatus < Struct.new(
  :status,
  :reason,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

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:

  • (String)


831
832
833
834
835
836
837
# File 'gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb', line 831

class IdentityContextStatus < Struct.new(
  :status,
  :reason,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

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:

  • (String)


831
832
833
834
835
836
837
# File 'gems/aws-sdk-mwaaserverless/lib/aws-sdk-mwaaserverless/types.rb', line 831

class IdentityContextStatus < Struct.new(
  :status,
  :reason,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end