// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/appconfig_deployment_strategy aws_appconfig_deployment_strategy}
*/
export class AppconfigDeploymentStrategy extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_appconfig_deployment_strategy";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/appconfig_deployment_strategy aws_appconfig_deployment_strategy} 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 AppconfigDeploymentStrategyConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_appconfig_deployment_strategy',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._deploymentDurationInMinutes = config.deploymentDurationInMinutes;
        this._description = config.description;
        this._finalBakeTimeInMinutes = config.finalBakeTimeInMinutes;
        this._growthFactor = config.growthFactor;
        this._growthType = config.growthType;
        this._name = config.name;
        this._replicateTo = config.replicateTo;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // deployment_duration_in_minutes - computed: false, optional: false, required: true
    _deploymentDurationInMinutes;
    get deploymentDurationInMinutes() {
        return this.getNumberAttribute('deployment_duration_in_minutes');
    }
    set deploymentDurationInMinutes(value) {
        this._deploymentDurationInMinutes = value;
    }
    // Temporarily expose input value. Use with caution.
    get deploymentDurationInMinutesInput() {
        return this._deploymentDurationInMinutes;
    }
    // description - computed: false, optional: true, required: false
    _description;
    get description() {
        return this.getStringAttribute('description');
    }
    set description(value) {
        this._description = value;
    }
    resetDescription() {
        this._description = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get descriptionInput() {
        return this._description;
    }
    // final_bake_time_in_minutes - computed: false, optional: true, required: false
    _finalBakeTimeInMinutes;
    get finalBakeTimeInMinutes() {
        return this.getNumberAttribute('final_bake_time_in_minutes');
    }
    set finalBakeTimeInMinutes(value) {
        this._finalBakeTimeInMinutes = value;
    }
    resetFinalBakeTimeInMinutes() {
        this._finalBakeTimeInMinutes = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get finalBakeTimeInMinutesInput() {
        return this._finalBakeTimeInMinutes;
    }
    // growth_factor - computed: false, optional: false, required: true
    _growthFactor;
    get growthFactor() {
        return this.getNumberAttribute('growth_factor');
    }
    set growthFactor(value) {
        this._growthFactor = value;
    }
    // Temporarily expose input value. Use with caution.
    get growthFactorInput() {
        return this._growthFactor;
    }
    // growth_type - computed: false, optional: true, required: false
    _growthType;
    get growthType() {
        return this.getStringAttribute('growth_type');
    }
    set growthType(value) {
        this._growthType = value;
    }
    resetGrowthType() {
        this._growthType = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get growthTypeInput() {
        return this._growthType;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // name - computed: false, optional: false, required: true
    _name;
    get name() {
        return this.getStringAttribute('name');
    }
    set name(value) {
        this._name = value;
    }
    // Temporarily expose input value. Use with caution.
    get nameInput() {
        return this._name;
    }
    // replicate_to - computed: false, optional: false, required: true
    _replicateTo;
    get replicateTo() {
        return this.getStringAttribute('replicate_to');
    }
    set replicateTo(value) {
        this._replicateTo = value;
    }
    // Temporarily expose input value. Use with caution.
    get replicateToInput() {
        return this._replicateTo;
    }
    // tags - computed: false, optional: true, required: false
    _tags;
    get tags() {
        return this.getStringMapAttribute('tags');
    }
    set tags(value) {
        this._tags = value;
    }
    resetTags() {
        this._tags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsInput() {
        return this._tags;
    }
    // tags_all - computed: true, optional: true, required: false
    _tagsAll;
    get tagsAll() {
        return this.getStringMapAttribute('tags_all');
    }
    set tagsAll(value) {
        this._tagsAll = value;
    }
    resetTagsAll() {
        this._tagsAll = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tagsAllInput() {
        return this._tagsAll;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            deployment_duration_in_minutes: cdktf.numberToTerraform(this._deploymentDurationInMinutes),
            description: cdktf.stringToTerraform(this._description),
            final_bake_time_in_minutes: cdktf.numberToTerraform(this._finalBakeTimeInMinutes),
            growth_factor: cdktf.numberToTerraform(this._growthFactor),
            growth_type: cdktf.stringToTerraform(this._growthType),
            name: cdktf.stringToTerraform(this._name),
            replicate_to: cdktf.stringToTerraform(this._replicateTo),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
        };
    }
}
//# sourceMappingURL=appconfig-deployment-strategy.js.map