# NOT RUN {
# This example adds the specified notification to the specified Auto
# Scaling group.
svc$put_notification_configuration(
AutoScalingGroupName = "my-auto-scaling-group",
NotificationTypes = list(
"autoscaling:TEST_NOTIFICATION"
),
TopicARN = "arn:aws:sns:us-west-2:123456789012:my-sns-topic"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab