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

Class: Aws::Redshift::Types::EventSubscription

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

Overview

Describes event subscriptions.

Instance Attribute Summary collapse

Instance Attribute Details

#cust_subscription_idString

The name of the Amazon Redshift event notification subscription.

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#customer_aws_idString

The AWS customer account associated with the Amazon Redshift event notification subscription.

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#enabledBoolean

A Boolean value indicating whether the subscription is enabled. true indicates the subscription is enabled.

Returns:

  • (Boolean)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#event_categories_listArray<String>

The list of Amazon Redshift event categories specified in the event notification subscription.

Values: Configuration, Management, Monitoring, Security

Returns:

  • (Array<String>)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#severityString

The event severity specified in the Amazon Redshift event notification subscription.

Values: ERROR, INFO

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#sns_topic_arnString

The Amazon Resource Name (ARN) of the Amazon SNS topic used by the event notification subscription.

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#source_ids_listArray<String>

A list of the sources that publish events to the Amazon Redshift event notification subscription.

Returns:

  • (Array<String>)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#source_typeString

The source type of the events returned the Amazon Redshift event notification, such as cluster, or cluster-snapshot.

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#statusString

The status of the Amazon Redshift event notification subscription.

Constraints:

  • Can be one of the following: active | no-permission | topic-not-exist

  • The status "no-permission" indicates that Amazon Redshift no longer has permission to post to the Amazon SNS topic. The status "topic-not-exist" indicates that the topic was deleted after the subscription was created.

Returns:

  • (String)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#subscription_creation_timeTime

The date and time the Amazon Redshift event notification subscription was created.

Returns:

  • (Time)


4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The list of tags for the event subscription.

Returns:



4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 4013

class EventSubscription < Struct.new(
  :customer_aws_id,
  :cust_subscription_id,
  :sns_topic_arn,
  :status,
  :subscription_creation_time,
  :source_type,
  :source_ids_list,
  :event_categories_list,
  :severity,
  :enabled,
  :tags)
  include Aws::Structure
end