You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchEvents::Types::PartnerEventSourceAccount

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

Overview

The AWS account that a partner event source has been offered to.

Instance Attribute Summary collapse

Instance Attribute Details

#accountString

The AWS account ID that the partner event source was offered to.

Returns:

  • (String)


1403
1404
1405
1406
1407
1408
1409
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1403

class PartnerEventSourceAccount < Struct.new(
  :account,
  :creation_time,
  :expiration_time,
  :state)
  include Aws::Structure
end

#creation_timeTime

The date and time when the event source was created.

Returns:

  • (Time)


1403
1404
1405
1406
1407
1408
1409
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1403

class PartnerEventSourceAccount < Struct.new(
  :account,
  :creation_time,
  :expiration_time,
  :state)
  include Aws::Structure
end

#expiration_timeTime

The date and time when the event source will expire if the AWS account doesn't create a matching event bus for it.

Returns:

  • (Time)


1403
1404
1405
1406
1407
1408
1409
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1403

class PartnerEventSourceAccount < Struct.new(
  :account,
  :creation_time,
  :expiration_time,
  :state)
  include Aws::Structure
end

#stateString

The state of the event source. If it's ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it's PENDING, either you haven't yet created a matching event bus, or that event bus is deactivated. If it's DELETED, you have created a matching event bus, but the event source has since been deleted.

Returns:

  • (String)


1403
1404
1405
1406
1407
1408
1409
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1403

class PartnerEventSourceAccount < Struct.new(
  :account,
  :creation_time,
  :expiration_time,
  :state)
  include Aws::Structure
end