// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/lambda_layer_version aws_lambda_layer_version}
*/
export class DataAwsLambdaLayerVersion extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_lambda_layer_version";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/lambda_layer_version aws_lambda_layer_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 DataAwsLambdaLayerVersionConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_lambda_layer_version',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._compatibleArchitecture = config.compatibleArchitecture;
        this._compatibleRuntime = config.compatibleRuntime;
        this._layerName = config.layerName;
        this._version = config.version;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // compatible_architecture - computed: false, optional: true, required: false
    _compatibleArchitecture;
    get compatibleArchitecture() {
        return this.getStringAttribute('compatible_architecture');
    }
    set compatibleArchitecture(value) {
        this._compatibleArchitecture = value;
    }
    resetCompatibleArchitecture() {
        this._compatibleArchitecture = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get compatibleArchitectureInput() {
        return this._compatibleArchitecture;
    }
    // compatible_architectures - computed: true, optional: false, required: false
    get compatibleArchitectures() {
        return cdktf.Fn.tolist(this.getListAttribute('compatible_architectures'));
    }
    // compatible_runtime - computed: false, optional: true, required: false
    _compatibleRuntime;
    get compatibleRuntime() {
        return this.getStringAttribute('compatible_runtime');
    }
    set compatibleRuntime(value) {
        this._compatibleRuntime = value;
    }
    resetCompatibleRuntime() {
        this._compatibleRuntime = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get compatibleRuntimeInput() {
        return this._compatibleRuntime;
    }
    // compatible_runtimes - computed: true, optional: false, required: false
    get compatibleRuntimes() {
        return cdktf.Fn.tolist(this.getListAttribute('compatible_runtimes'));
    }
    // created_date - computed: true, optional: false, required: false
    get createdDate() {
        return this.getStringAttribute('created_date');
    }
    // description - computed: true, optional: false, required: false
    get description() {
        return this.getStringAttribute('description');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // layer_arn - computed: true, optional: false, required: false
    get layerArn() {
        return this.getStringAttribute('layer_arn');
    }
    // layer_name - computed: false, optional: false, required: true
    _layerName;
    get layerName() {
        return this.getStringAttribute('layer_name');
    }
    set layerName(value) {
        this._layerName = value;
    }
    // Temporarily expose input value. Use with caution.
    get layerNameInput() {
        return this._layerName;
    }
    // license_info - computed: true, optional: false, required: false
    get licenseInfo() {
        return this.getStringAttribute('license_info');
    }
    // signing_job_arn - computed: true, optional: false, required: false
    get signingJobArn() {
        return this.getStringAttribute('signing_job_arn');
    }
    // signing_profile_version_arn - computed: true, optional: false, required: false
    get signingProfileVersionArn() {
        return this.getStringAttribute('signing_profile_version_arn');
    }
    // source_code_hash - computed: true, optional: false, required: false
    get sourceCodeHash() {
        return this.getStringAttribute('source_code_hash');
    }
    // source_code_size - computed: true, optional: false, required: false
    get sourceCodeSize() {
        return this.getNumberAttribute('source_code_size');
    }
    // version - computed: true, optional: true, required: false
    _version;
    get version() {
        return this.getNumberAttribute('version');
    }
    set version(value) {
        this._version = value;
    }
    resetVersion() {
        this._version = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get versionInput() {
        return this._version;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            compatible_architecture: cdktf.stringToTerraform(this._compatibleArchitecture),
            compatible_runtime: cdktf.stringToTerraform(this._compatibleRuntime),
            layer_name: cdktf.stringToTerraform(this._layerName),
            version: cdktf.numberToTerraform(this._version),
        };
    }
}
//# sourceMappingURL=data-aws-lambda-layer-version.js.map