// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/autoscaling_notification aws_autoscaling_notification}
*/
export class AutoscalingNotification extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_autoscaling_notification";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/autoscaling_notification aws_autoscaling_notification} Resource
    *
    * @param scope The scope in which to define this construct
    * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
    * @param options AutoscalingNotificationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_autoscaling_notification',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._groupNames = config.groupNames;
        this._notifications = config.notifications;
        this._topicArn = config.topicArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // group_names - computed: false, optional: false, required: true
    _groupNames;
    get groupNames() {
        return cdktf.Fn.tolist(this.getListAttribute('group_names'));
    }
    set groupNames(value) {
        this._groupNames = value;
    }
    // Temporarily expose input value. Use with caution.
    get groupNamesInput() {
        return this._groupNames;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // notifications - computed: false, optional: false, required: true
    _notifications;
    get notifications() {
        return cdktf.Fn.tolist(this.getListAttribute('notifications'));
    }
    set notifications(value) {
        this._notifications = value;
    }
    // Temporarily expose input value. Use with caution.
    get notificationsInput() {
        return this._notifications;
    }
    // topic_arn - computed: false, optional: false, required: true
    _topicArn;
    get topicArn() {
        return this.getStringAttribute('topic_arn');
    }
    set topicArn(value) {
        this._topicArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get topicArnInput() {
        return this._topicArn;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            group_names: cdktf.listMapper(cdktf.stringToTerraform)(this._groupNames),
            notifications: cdktf.listMapper(cdktf.stringToTerraform)(this._notifications),
            topic_arn: cdktf.stringToTerraform(this._topicArn),
        };
    }
}
//# sourceMappingURL=autoscaling-notification.js.map