Class: Aws::Inspector::Types::Subscription

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

Overview

This data type is used as a response element in the ListEventSubscriptions action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_subscriptionsArray<Types::EventSubscription>

The list of existing event subscriptions.

Returns:



3106
3107
3108
3109
3110
3111
3112
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3106

class Subscription < Struct.new(
  :resource_arn,
  :topic_arn,
  :event_subscriptions)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the assessment template that is used during the event for which the SNS notification is sent.

Returns:

  • (String)


3106
3107
3108
3109
3110
3111
3112
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3106

class Subscription < Struct.new(
  :resource_arn,
  :topic_arn,
  :event_subscriptions)
  SENSITIVE = []
  include Aws::Structure
end

#topic_arnString

The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.

Returns:

  • (String)


3106
3107
3108
3109
3110
3111
3112
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3106

class Subscription < Struct.new(
  :resource_arn,
  :topic_arn,
  :event_subscriptions)
  SENSITIVE = []
  include Aws::Structure
end