AssessmentTemplateEventSubscription constructor

const AssessmentTemplateEventSubscription({
  1. required Input<String> event,
  2. required Input<String> topicArn,
})

Creates a new AssessmentTemplateEventSubscription. event The event for which you want to receive SNS notifications. Valid values are ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, and FINDING_REPORTED. topicArn The ARN of the SNS topic to which notifications are sent.

Implementation

const AssessmentTemplateEventSubscription({
  required this.event,
  required this.topicArn,
});