| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AutoScaling.Types.NotificationConfiguration
Description
Synopsis
- data NotificationConfiguration = NotificationConfiguration' {}
- newNotificationConfiguration :: NotificationConfiguration
- notificationConfiguration_autoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text)
- notificationConfiguration_notificationType :: Lens' NotificationConfiguration (Maybe Text)
- notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text)
Documentation
data NotificationConfiguration Source #
Describes a notification.
See: newNotificationConfiguration smart constructor.
Constructors
| NotificationConfiguration' | |
Fields
| |
Instances
newNotificationConfiguration :: NotificationConfiguration Source #
Create a value of NotificationConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:NotificationConfiguration', notificationConfiguration_autoScalingGroupName - The name of the Auto Scaling group.
$sel:notificationType:NotificationConfiguration', notificationConfiguration_notificationType - One of the following event notification types:
autoscaling:EC2_INSTANCE_LAUNCH
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
autoscaling:EC2_INSTANCE_TERMINATE
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
autoscaling:TEST_NOTIFICATION
$sel:topicARN:NotificationConfiguration', notificationConfiguration_topicARN - The Amazon Resource Name (ARN) of the Amazon SNS topic.
notificationConfiguration_autoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) Source #
The name of the Auto Scaling group.
notificationConfiguration_notificationType :: Lens' NotificationConfiguration (Maybe Text) Source #
One of the following event notification types:
autoscaling:EC2_INSTANCE_LAUNCH
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
autoscaling:EC2_INSTANCE_TERMINATE
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
autoscaling:TEST_NOTIFICATION
notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic.