// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/emr_studio aws_emr_studio}
*/
export class EmrStudio extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_emr_studio";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/emr_studio aws_emr_studio} 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 EmrStudioConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_emr_studio',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._authMode = config.authMode;
        this._defaultS3Location = config.defaultS3Location;
        this._description = config.description;
        this._engineSecurityGroupId = config.engineSecurityGroupId;
        this._idpAuthUrl = config.idpAuthUrl;
        this._idpRelayStateParameterName = config.idpRelayStateParameterName;
        this._name = config.name;
        this._serviceRole = config.serviceRole;
        this._subnetIds = config.subnetIds;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
        this._userRole = config.userRole;
        this._vpcId = config.vpcId;
        this._workspaceSecurityGroupId = config.workspaceSecurityGroupId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // auth_mode - computed: false, optional: false, required: true
    _authMode;
    get authMode() {
        return this.getStringAttribute('auth_mode');
    }
    set authMode(value) {
        this._authMode = value;
    }
    // Temporarily expose input value. Use with caution.
    get authModeInput() {
        return this._authMode;
    }
    // default_s3_location - computed: false, optional: false, required: true
    _defaultS3Location;
    get defaultS3Location() {
        return this.getStringAttribute('default_s3_location');
    }
    set defaultS3Location(value) {
        this._defaultS3Location = value;
    }
    // Temporarily expose input value. Use with caution.
    get defaultS3LocationInput() {
        return this._defaultS3Location;
    }
    // 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;
    }
    // engine_security_group_id - computed: false, optional: false, required: true
    _engineSecurityGroupId;
    get engineSecurityGroupId() {
        return this.getStringAttribute('engine_security_group_id');
    }
    set engineSecurityGroupId(value) {
        this._engineSecurityGroupId = value;
    }
    // Temporarily expose input value. Use with caution.
    get engineSecurityGroupIdInput() {
        return this._engineSecurityGroupId;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // idp_auth_url - computed: false, optional: true, required: false
    _idpAuthUrl;
    get idpAuthUrl() {
        return this.getStringAttribute('idp_auth_url');
    }
    set idpAuthUrl(value) {
        this._idpAuthUrl = value;
    }
    resetIdpAuthUrl() {
        this._idpAuthUrl = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get idpAuthUrlInput() {
        return this._idpAuthUrl;
    }
    // idp_relay_state_parameter_name - computed: false, optional: true, required: false
    _idpRelayStateParameterName;
    get idpRelayStateParameterName() {
        return this.getStringAttribute('idp_relay_state_parameter_name');
    }
    set idpRelayStateParameterName(value) {
        this._idpRelayStateParameterName = value;
    }
    resetIdpRelayStateParameterName() {
        this._idpRelayStateParameterName = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get idpRelayStateParameterNameInput() {
        return this._idpRelayStateParameterName;
    }
    // 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;
    }
    // service_role - computed: false, optional: false, required: true
    _serviceRole;
    get serviceRole() {
        return this.getStringAttribute('service_role');
    }
    set serviceRole(value) {
        this._serviceRole = value;
    }
    // Temporarily expose input value. Use with caution.
    get serviceRoleInput() {
        return this._serviceRole;
    }
    // subnet_ids - computed: false, optional: false, required: true
    _subnetIds;
    get subnetIds() {
        return cdktf.Fn.tolist(this.getListAttribute('subnet_ids'));
    }
    set subnetIds(value) {
        this._subnetIds = value;
    }
    // Temporarily expose input value. Use with caution.
    get subnetIdsInput() {
        return this._subnetIds;
    }
    // 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;
    }
    // url - computed: true, optional: false, required: false
    get url() {
        return this.getStringAttribute('url');
    }
    // user_role - computed: false, optional: true, required: false
    _userRole;
    get userRole() {
        return this.getStringAttribute('user_role');
    }
    set userRole(value) {
        this._userRole = value;
    }
    resetUserRole() {
        this._userRole = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get userRoleInput() {
        return this._userRole;
    }
    // vpc_id - computed: false, optional: false, required: true
    _vpcId;
    get vpcId() {
        return this.getStringAttribute('vpc_id');
    }
    set vpcId(value) {
        this._vpcId = value;
    }
    // Temporarily expose input value. Use with caution.
    get vpcIdInput() {
        return this._vpcId;
    }
    // workspace_security_group_id - computed: false, optional: false, required: true
    _workspaceSecurityGroupId;
    get workspaceSecurityGroupId() {
        return this.getStringAttribute('workspace_security_group_id');
    }
    set workspaceSecurityGroupId(value) {
        this._workspaceSecurityGroupId = value;
    }
    // Temporarily expose input value. Use with caution.
    get workspaceSecurityGroupIdInput() {
        return this._workspaceSecurityGroupId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            auth_mode: cdktf.stringToTerraform(this._authMode),
            default_s3_location: cdktf.stringToTerraform(this._defaultS3Location),
            description: cdktf.stringToTerraform(this._description),
            engine_security_group_id: cdktf.stringToTerraform(this._engineSecurityGroupId),
            idp_auth_url: cdktf.stringToTerraform(this._idpAuthUrl),
            idp_relay_state_parameter_name: cdktf.stringToTerraform(this._idpRelayStateParameterName),
            name: cdktf.stringToTerraform(this._name),
            service_role: cdktf.stringToTerraform(this._serviceRole),
            subnet_ids: cdktf.listMapper(cdktf.stringToTerraform)(this._subnetIds),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
            user_role: cdktf.stringToTerraform(this._userRole),
            vpc_id: cdktf.stringToTerraform(this._vpcId),
            workspace_security_group_id: cdktf.stringToTerraform(this._workspaceSecurityGroupId),
        };
    }
}
//# sourceMappingURL=emr-studio.js.map