AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Overview

Note:

When making an API call, you may pass SubscribeToEventRequest data as a 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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

The event for which you want to receive SNS notifications.

Returns:

  • (String)


3079
3080
3081
3082
3083
3084
3085
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3079

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

#resource_arnString

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

Returns:

  • (String)


3079
3080
3081
3082
3083
3084
3085
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3079

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

#topic_arnString

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

Returns:

  • (String)


3079
3080
3081
3082
3083
3084
3085
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3079

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