AssessmentTemplateEventSubscription constructor
const
AssessmentTemplateEventSubscription({})
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,
});