// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/ecs_container_definition aws_ecs_container_definition}
*/
export class DataAwsEcsContainerDefinition extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_ecs_container_definition";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/ecs_container_definition aws_ecs_container_definition} 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 DataAwsEcsContainerDefinitionConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_ecs_container_definition',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._containerName = config.containerName;
        this._taskDefinition = config.taskDefinition;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // container_name - computed: false, optional: false, required: true
    _containerName;
    get containerName() {
        return this.getStringAttribute('container_name');
    }
    set containerName(value) {
        this._containerName = value;
    }
    // Temporarily expose input value. Use with caution.
    get containerNameInput() {
        return this._containerName;
    }
    // cpu - computed: true, optional: false, required: false
    get cpu() {
        return this.getNumberAttribute('cpu');
    }
    // disable_networking - computed: true, optional: false, required: false
    get disableNetworking() {
        return this.getBooleanAttribute('disable_networking');
    }
    // docker_labels - computed: true, optional: false, required: false
    dockerLabels(key) {
        return new cdktf.StringMap(this, 'docker_labels').lookup(key);
    }
    // environment - computed: true, optional: false, required: false
    environment(key) {
        return new cdktf.StringMap(this, 'environment').lookup(key);
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // image - computed: true, optional: false, required: false
    get image() {
        return this.getStringAttribute('image');
    }
    // image_digest - computed: true, optional: false, required: false
    get imageDigest() {
        return this.getStringAttribute('image_digest');
    }
    // memory - computed: true, optional: false, required: false
    get memory() {
        return this.getNumberAttribute('memory');
    }
    // memory_reservation - computed: true, optional: false, required: false
    get memoryReservation() {
        return this.getNumberAttribute('memory_reservation');
    }
    // task_definition - computed: false, optional: false, required: true
    _taskDefinition;
    get taskDefinition() {
        return this.getStringAttribute('task_definition');
    }
    set taskDefinition(value) {
        this._taskDefinition = value;
    }
    // Temporarily expose input value. Use with caution.
    get taskDefinitionInput() {
        return this._taskDefinition;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            container_name: cdktf.stringToTerraform(this._containerName),
            task_definition: cdktf.stringToTerraform(this._taskDefinition),
        };
    }
}
//# sourceMappingURL=data-aws-ecs-container-definition.js.map