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
- Struct
- Aws::Inspector::Types::SubscribeToEventRequest
- 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
-
#event ⇒ String
The event for which you want to receive SNS notifications.
-
#resource_arn ⇒ String
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
-
#topic_arn ⇒ String
The ARN of the SNS topic to which the SNS notifications are sent.
Instance Attribute Details
#event ⇒ String
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
#resource_arn ⇒ String
The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
#topic_arn ⇒ String
The ARN of the SNS topic to which the SNS notifications are sent.