// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsEfsAccessPointPosixUser extends cdktf.ComplexComputedList {
    // gid - computed: true, optional: false, required: false
    get gid() {
        return this.getNumberAttribute('gid');
    }
    // secondary_gids - computed: true, optional: false, required: false
    get secondaryGids() {
        return cdktf.Token.asNumberList(cdktf.Fn.tolist(this.getNumberListAttribute('secondary_gids')));
    }
    // uid - computed: true, optional: false, required: false
    get uid() {
        return this.getNumberAttribute('uid');
    }
}
export class DataAwsEfsAccessPointRootDirectoryCreationInfo extends cdktf.ComplexComputedList {
    // owner_gid - computed: true, optional: false, required: false
    get ownerGid() {
        return this.getNumberAttribute('owner_gid');
    }
    // owner_uid - computed: true, optional: false, required: false
    get ownerUid() {
        return this.getNumberAttribute('owner_uid');
    }
    // permissions - computed: true, optional: false, required: false
    get permissions() {
        return this.getStringAttribute('permissions');
    }
}
export class DataAwsEfsAccessPointRootDirectory extends cdktf.ComplexComputedList {
    // creation_info - computed: true, optional: false, required: false
    get creationInfo() {
        // Getting the computed value is not yet implemented
        return this.interpolationForAttribute('creation_info');
    }
    // path - computed: true, optional: false, required: false
    get path() {
        return this.getStringAttribute('path');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/efs_access_point aws_efs_access_point}
*/
export class DataAwsEfsAccessPoint extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_efs_access_point";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/efs_access_point aws_efs_access_point} 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 DataAwsEfsAccessPointConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_efs_access_point',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._accessPointId = config.accessPointId;
        this._tags = config.tags;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // access_point_id - computed: false, optional: false, required: true
    _accessPointId;
    get accessPointId() {
        return this.getStringAttribute('access_point_id');
    }
    set accessPointId(value) {
        this._accessPointId = value;
    }
    // Temporarily expose input value. Use with caution.
    get accessPointIdInput() {
        return this._accessPointId;
    }
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // file_system_arn - computed: true, optional: false, required: false
    get fileSystemArn() {
        return this.getStringAttribute('file_system_arn');
    }
    // file_system_id - computed: true, optional: false, required: false
    get fileSystemId() {
        return this.getStringAttribute('file_system_id');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // owner_id - computed: true, optional: false, required: false
    get ownerId() {
        return this.getStringAttribute('owner_id');
    }
    // posix_user - computed: true, optional: false, required: false
    posixUser(index) {
        return new DataAwsEfsAccessPointPosixUser(this, 'posix_user', index, false);
    }
    // root_directory - computed: true, optional: false, required: false
    rootDirectory(index) {
        return new DataAwsEfsAccessPointRootDirectory(this, 'root_directory', index, false);
    }
    // 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;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            access_point_id: cdktf.stringToTerraform(this._accessPointId),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
        };
    }
}
//# sourceMappingURL=data-aws-efs-access-point.js.map