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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#event_subscriptionsArray<Types::EventSubscription>

The list of existing event subscriptions.

Returns:



2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2318

class Subscription < Struct.new(
  :resource_arn,
  :topic_arn,
  :event_subscriptions)
  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)


2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2318

class Subscription < Struct.new(
  :resource_arn,
  :topic_arn,
  :event_subscriptions)
  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)


2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2318

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