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

Class: Aws::Inspector::Types::SubscribeToEventRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SubscribeToEventRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn: "Arn", # required
  event: "ASSESSMENT_RUN_STARTED", # required, accepts ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, FINDING_REPORTED, OTHER
  topic_arn: "Arn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

The event for which you want to receive SNS notifications.

Possible values:

  • ASSESSMENT_RUN_STARTED
  • ASSESSMENT_RUN_COMPLETED
  • ASSESSMENT_RUN_STATE_CHANGED
  • FINDING_REPORTED
  • OTHER

Returns:

  • (String)

    The event for which you want to receive SNS notifications.

#resource_arnString

The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

Returns:

  • (String)

    The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

#topic_arnString

The ARN of the SNS topic to which the SNS notifications are sent.

Returns:

  • (String)

    The ARN of the SNS topic to which the SNS notifications are sent.