// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/secretsmanager_secret_version aws_secretsmanager_secret_version}
*/
export class DataAwsSecretsmanagerSecretVersion extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_secretsmanager_secret_version";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/secretsmanager_secret_version aws_secretsmanager_secret_version} Data Source
    *
    * @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 DataAwsSecretsmanagerSecretVersionConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_secretsmanager_secret_version',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._secretId = config.secretId;
        this._versionId = config.versionId;
        this._versionStage = config.versionStage;
    }
    // ==========
    // 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');
    }
    // secret_binary - computed: true, optional: false, required: false
    get secretBinary() {
        return this.getStringAttribute('secret_binary');
    }
    // secret_id - computed: false, optional: false, required: true
    _secretId;
    get secretId() {
        return this.getStringAttribute('secret_id');
    }
    set secretId(value) {
        this._secretId = value;
    }
    // Temporarily expose input value. Use with caution.
    get secretIdInput() {
        return this._secretId;
    }
    // secret_string - computed: true, optional: false, required: false
    get secretString() {
        return this.getStringAttribute('secret_string');
    }
    // version_id - computed: true, optional: true, required: false
    _versionId;
    get versionId() {
        return this.getStringAttribute('version_id');
    }
    set versionId(value) {
        this._versionId = value;
    }
    resetVersionId() {
        this._versionId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get versionIdInput() {
        return this._versionId;
    }
    // version_stage - computed: false, optional: true, required: false
    _versionStage;
    get versionStage() {
        return this.getStringAttribute('version_stage');
    }
    set versionStage(value) {
        this._versionStage = value;
    }
    resetVersionStage() {
        this._versionStage = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get versionStageInput() {
        return this._versionStage;
    }
    // version_stages - computed: true, optional: false, required: false
    get versionStages() {
        return cdktf.Fn.tolist(this.getListAttribute('version_stages'));
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            secret_id: cdktf.stringToTerraform(this._secretId),
            version_id: cdktf.stringToTerraform(this._versionId),
            version_stage: cdktf.stringToTerraform(this._versionStage),
        };
    }
}
//# sourceMappingURL=data-aws-secretsmanager-secret-version.js.map