import * as core from "@terrascript/core"; export interface NotificationArgs extends core.ResourceArgs { /** * (Required) A list of AutoScaling Group Names */ groupNames: core.Array | core.ArrayOut; /** * (Required) A list of Notification Types that trigger */ notifications: core.Array | core.ArrayOut; /** * (Required) The Topic ARN for notifications to be sent through */ topicArn: string | core.StringOut; } export class Notification extends core.Resource { /** * (Required) A list of AutoScaling Group Names */ @core.attr(String, { kind: "array" }) public groupNames!: core.Array | core.ArrayOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A list of Notification Types that trigger */ @core.attr(String, { kind: "array" }) public notifications!: core.Array | core.ArrayOut; /** * (Required) The Topic ARN for notifications to be sent through */ @core.attr(String) public topicArn!: string | core.StringOut; constructor(name: string, args?: NotificationArgs) { super(name, "aws_autoscaling_notification", args); } public override getNamespace(): string { return "aws_autoscaling"; } }