libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AutoScaling.Types.NotificationConfiguration

Description

 
Synopsis

Documentation

data NotificationConfiguration Source #

Describes a notification.

See: newNotificationConfiguration smart constructor.

Constructors

NotificationConfiguration' 

Fields

  • topicARN :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • notificationType :: Maybe Text

    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

Instances

Instances details
Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Show NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Generic NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

FromXML NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

type Rep NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

type Rep NotificationConfiguration = D1 ('MetaData "NotificationConfiguration" "Amazonka.AutoScaling.Types.NotificationConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:topicARN:NotificationConfiguration', notificationConfiguration_topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

$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

notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

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