// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_notebook_instance_lifecycle_configuration aws_sagemaker_notebook_instance_lifecycle_configuration}
*/
export class SagemakerNotebookInstanceLifecycleConfiguration extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_sagemaker_notebook_instance_lifecycle_configuration";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_notebook_instance_lifecycle_configuration aws_sagemaker_notebook_instance_lifecycle_configuration} 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 SagemakerNotebookInstanceLifecycleConfigurationConfig = {}
    */
    constructor(scope, id, config = {}) {
        super(scope, id, {
            terraformResourceType: 'aws_sagemaker_notebook_instance_lifecycle_configuration',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._name = config.name;
        this._onCreate = config.onCreate;
        this._onStart = config.onStart;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // name - computed: false, optional: true, required: false
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    resetName() {
        this._name = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // on_create - computed: false, optional: true, required: false
    _onCreate;
    get onCreate() {
        return this.getStringAttribute('on_create');
    }
    set onCreate(value) {
        this._onCreate = value;
    }
    resetOnCreate() {
        this._onCreate = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get onCreateInput() {
        return this._onCreate;
    }
    // on_start - computed: false, optional: true, required: false
    _onStart;
    get onStart() {
        return this.getStringAttribute('on_start');
    }
    set onStart(value) {
        this._onStart = value;
    }
    resetOnStart() {
        this._onStart = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get onStartInput() {
        return this._onStart;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            name: cdktf.stringToTerraform(this._name),
            on_create: cdktf.stringToTerraform(this._onCreate),
            on_start: cdktf.stringToTerraform(this._onStart),
        };
    }
}
//# sourceMappingURL=sagemaker-notebook-instance-lifecycle-configuration.js.map