-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAutoScalingGroup_NotificationConfigurationProperty.go
44 lines (41 loc) · 2.33 KB
/
CfnAutoScalingGroup_NotificationConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package awsautoscaling
// A structure that specifies an Amazon SNS notification configuration for the `NotificationConfigurations` property of the [AWS::AutoScaling::AutoScalingGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html) resource.
//
// For an example template snippet, see [Auto scaling template snippets](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-autoscaling.html) .
//
// For more information, see [Get Amazon SNS notifications when your Auto Scaling group scales](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html) in the *Amazon EC2 Auto Scaling User Guide* .
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// notificationConfigurationProperty := &NotificationConfigurationProperty{
// TopicArn: jsii.String("topicArn"),
//
// // the properties below are optional
// NotificationTypes: []*string{
// jsii.String("notificationTypes"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html
//
type CfnAutoScalingGroup_NotificationConfigurationProperty struct {
// The Amazon Resource Name (ARN) of the Amazon SNS topic.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html#cfn-autoscaling-autoscalinggroup-notificationconfiguration-topicarn
//
TopicArn *string `field:"required" json:"topicArn" yaml:"topicArn"`
// A list of event types that send a notification. Event types can include any of the following types.
//
// *Allowed values* :
//
// - `autoscaling:EC2_INSTANCE_LAUNCH`
// - `autoscaling:EC2_INSTANCE_LAUNCH_ERROR`
// - `autoscaling:EC2_INSTANCE_TERMINATE`
// - `autoscaling:EC2_INSTANCE_TERMINATE_ERROR`
// - `autoscaling:TEST_NOTIFICATION`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-notificationconfiguration.html#cfn-autoscaling-autoscalinggroup-notificationconfiguration-notificationtypes
//
NotificationTypes *[]*string `field:"optional" json:"notificationTypes" yaml:"notificationTypes"`
}