// generated from terraform resource schema
import * as cdktf from 'cdktf';
export function sagemakerFlowDefinitionHumanLoopActivationConfigHumanLoopActivationConditionsConfigToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        human_loop_activation_conditions: cdktf.stringToTerraform(struct.humanLoopActivationConditions),
    };
}
export class SagemakerFlowDefinitionHumanLoopActivationConfigHumanLoopActivationConditionsConfigOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._humanLoopActivationConditions !== undefined) {
            hasAnyValues = true;
            internalValueResult.humanLoopActivationConditions = this._humanLoopActivationConditions;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._humanLoopActivationConditions = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._humanLoopActivationConditions = value.humanLoopActivationConditions;
        }
    }
    // human_loop_activation_conditions - computed: false, optional: false, required: true
    _humanLoopActivationConditions;
    get humanLoopActivationConditions() {
        return this.getStringAttribute('human_loop_activation_conditions');
    }
    set humanLoopActivationConditions(value) {
        this._humanLoopActivationConditions = value;
    }
    // Temporarily expose input value. Use with caution.
    get humanLoopActivationConditionsInput() {
        return this._humanLoopActivationConditions;
    }
}
export function sagemakerFlowDefinitionHumanLoopActivationConfigToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        human_loop_activation_conditions_config: sagemakerFlowDefinitionHumanLoopActivationConfigHumanLoopActivationConditionsConfigToTerraform(struct.humanLoopActivationConditionsConfig),
    };
}
export class SagemakerFlowDefinitionHumanLoopActivationConfigOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._humanLoopActivationConditionsConfig?.internalValue !== undefined) {
            hasAnyValues = true;
            internalValueResult.humanLoopActivationConditionsConfig = this._humanLoopActivationConditionsConfig?.internalValue;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._humanLoopActivationConditionsConfig.internalValue = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._humanLoopActivationConditionsConfig.internalValue = value.humanLoopActivationConditionsConfig;
        }
    }
    // human_loop_activation_conditions_config - computed: false, optional: true, required: false
    _humanLoopActivationConditionsConfig = new SagemakerFlowDefinitionHumanLoopActivationConfigHumanLoopActivationConditionsConfigOutputReference(this, "human_loop_activation_conditions_config", true);
    get humanLoopActivationConditionsConfig() {
        return this._humanLoopActivationConditionsConfig;
    }
    putHumanLoopActivationConditionsConfig(value) {
        this._humanLoopActivationConditionsConfig.internalValue = value;
    }
    resetHumanLoopActivationConditionsConfig() {
        this._humanLoopActivationConditionsConfig.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get humanLoopActivationConditionsConfigInput() {
        return this._humanLoopActivationConditionsConfig.internalValue;
    }
}
export function sagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsdToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        cents: cdktf.numberToTerraform(struct.cents),
        dollars: cdktf.numberToTerraform(struct.dollars),
        tenth_fractions_of_a_cent: cdktf.numberToTerraform(struct.tenthFractionsOfACent),
    };
}
export class SagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsdOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._cents !== undefined) {
            hasAnyValues = true;
            internalValueResult.cents = this._cents;
        }
        if (this._dollars !== undefined) {
            hasAnyValues = true;
            internalValueResult.dollars = this._dollars;
        }
        if (this._tenthFractionsOfACent !== undefined) {
            hasAnyValues = true;
            internalValueResult.tenthFractionsOfACent = this._tenthFractionsOfACent;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._cents = undefined;
            this._dollars = undefined;
            this._tenthFractionsOfACent = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._cents = value.cents;
            this._dollars = value.dollars;
            this._tenthFractionsOfACent = value.tenthFractionsOfACent;
        }
    }
    // cents - computed: false, optional: true, required: false
    _cents;
    get cents() {
        return this.getNumberAttribute('cents');
    }
    set cents(value) {
        this._cents = value;
    }
    resetCents() {
        this._cents = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get centsInput() {
        return this._cents;
    }
    // dollars - computed: false, optional: true, required: false
    _dollars;
    get dollars() {
        return this.getNumberAttribute('dollars');
    }
    set dollars(value) {
        this._dollars = value;
    }
    resetDollars() {
        this._dollars = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get dollarsInput() {
        return this._dollars;
    }
    // tenth_fractions_of_a_cent - computed: false, optional: true, required: false
    _tenthFractionsOfACent;
    get tenthFractionsOfACent() {
        return this.getNumberAttribute('tenth_fractions_of_a_cent');
    }
    set tenthFractionsOfACent(value) {
        this._tenthFractionsOfACent = value;
    }
    resetTenthFractionsOfACent() {
        this._tenthFractionsOfACent = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get tenthFractionsOfACentInput() {
        return this._tenthFractionsOfACent;
    }
}
export function sagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        amount_in_usd: sagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsdToTerraform(struct.amountInUsd),
    };
}
export class SagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._amountInUsd?.internalValue !== undefined) {
            hasAnyValues = true;
            internalValueResult.amountInUsd = this._amountInUsd?.internalValue;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._amountInUsd.internalValue = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._amountInUsd.internalValue = value.amountInUsd;
        }
    }
    // amount_in_usd - computed: false, optional: true, required: false
    _amountInUsd = new SagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceAmountInUsdOutputReference(this, "amount_in_usd", true);
    get amountInUsd() {
        return this._amountInUsd;
    }
    putAmountInUsd(value) {
        this._amountInUsd.internalValue = value;
    }
    resetAmountInUsd() {
        this._amountInUsd.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get amountInUsdInput() {
        return this._amountInUsd.internalValue;
    }
}
export function sagemakerFlowDefinitionHumanLoopConfigToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        human_task_ui_arn: cdktf.stringToTerraform(struct.humanTaskUiArn),
        task_availability_lifetime_in_seconds: cdktf.numberToTerraform(struct.taskAvailabilityLifetimeInSeconds),
        task_count: cdktf.numberToTerraform(struct.taskCount),
        task_description: cdktf.stringToTerraform(struct.taskDescription),
        task_keywords: cdktf.listMapper(cdktf.stringToTerraform)(struct.taskKeywords),
        task_time_limit_in_seconds: cdktf.numberToTerraform(struct.taskTimeLimitInSeconds),
        task_title: cdktf.stringToTerraform(struct.taskTitle),
        workteam_arn: cdktf.stringToTerraform(struct.workteamArn),
        public_workforce_task_price: sagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceToTerraform(struct.publicWorkforceTaskPrice),
    };
}
export class SagemakerFlowDefinitionHumanLoopConfigOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._humanTaskUiArn !== undefined) {
            hasAnyValues = true;
            internalValueResult.humanTaskUiArn = this._humanTaskUiArn;
        }
        if (this._taskAvailabilityLifetimeInSeconds !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskAvailabilityLifetimeInSeconds = this._taskAvailabilityLifetimeInSeconds;
        }
        if (this._taskCount !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskCount = this._taskCount;
        }
        if (this._taskDescription !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskDescription = this._taskDescription;
        }
        if (this._taskKeywords !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskKeywords = this._taskKeywords;
        }
        if (this._taskTimeLimitInSeconds !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskTimeLimitInSeconds = this._taskTimeLimitInSeconds;
        }
        if (this._taskTitle !== undefined) {
            hasAnyValues = true;
            internalValueResult.taskTitle = this._taskTitle;
        }
        if (this._workteamArn !== undefined) {
            hasAnyValues = true;
            internalValueResult.workteamArn = this._workteamArn;
        }
        if (this._publicWorkforceTaskPrice?.internalValue !== undefined) {
            hasAnyValues = true;
            internalValueResult.publicWorkforceTaskPrice = this._publicWorkforceTaskPrice?.internalValue;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._humanTaskUiArn = undefined;
            this._taskAvailabilityLifetimeInSeconds = undefined;
            this._taskCount = undefined;
            this._taskDescription = undefined;
            this._taskKeywords = undefined;
            this._taskTimeLimitInSeconds = undefined;
            this._taskTitle = undefined;
            this._workteamArn = undefined;
            this._publicWorkforceTaskPrice.internalValue = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._humanTaskUiArn = value.humanTaskUiArn;
            this._taskAvailabilityLifetimeInSeconds = value.taskAvailabilityLifetimeInSeconds;
            this._taskCount = value.taskCount;
            this._taskDescription = value.taskDescription;
            this._taskKeywords = value.taskKeywords;
            this._taskTimeLimitInSeconds = value.taskTimeLimitInSeconds;
            this._taskTitle = value.taskTitle;
            this._workteamArn = value.workteamArn;
            this._publicWorkforceTaskPrice.internalValue = value.publicWorkforceTaskPrice;
        }
    }
    // human_task_ui_arn - computed: false, optional: false, required: true
    _humanTaskUiArn;
    get humanTaskUiArn() {
        return this.getStringAttribute('human_task_ui_arn');
    }
    set humanTaskUiArn(value) {
        this._humanTaskUiArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get humanTaskUiArnInput() {
        return this._humanTaskUiArn;
    }
    // task_availability_lifetime_in_seconds - computed: false, optional: true, required: false
    _taskAvailabilityLifetimeInSeconds;
    get taskAvailabilityLifetimeInSeconds() {
        return this.getNumberAttribute('task_availability_lifetime_in_seconds');
    }
    set taskAvailabilityLifetimeInSeconds(value) {
        this._taskAvailabilityLifetimeInSeconds = value;
    }
    resetTaskAvailabilityLifetimeInSeconds() {
        this._taskAvailabilityLifetimeInSeconds = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get taskAvailabilityLifetimeInSecondsInput() {
        return this._taskAvailabilityLifetimeInSeconds;
    }
    // task_count - computed: false, optional: false, required: true
    _taskCount;
    get taskCount() {
        return this.getNumberAttribute('task_count');
    }
    set taskCount(value) {
        this._taskCount = value;
    }
    // Temporarily expose input value. Use with caution.
    get taskCountInput() {
        return this._taskCount;
    }
    // task_description - computed: false, optional: false, required: true
    _taskDescription;
    get taskDescription() {
        return this.getStringAttribute('task_description');
    }
    set taskDescription(value) {
        this._taskDescription = value;
    }
    // Temporarily expose input value. Use with caution.
    get taskDescriptionInput() {
        return this._taskDescription;
    }
    // task_keywords - computed: false, optional: true, required: false
    _taskKeywords;
    get taskKeywords() {
        return cdktf.Fn.tolist(this.getListAttribute('task_keywords'));
    }
    set taskKeywords(value) {
        this._taskKeywords = value;
    }
    resetTaskKeywords() {
        this._taskKeywords = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get taskKeywordsInput() {
        return this._taskKeywords;
    }
    // task_time_limit_in_seconds - computed: false, optional: true, required: false
    _taskTimeLimitInSeconds;
    get taskTimeLimitInSeconds() {
        return this.getNumberAttribute('task_time_limit_in_seconds');
    }
    set taskTimeLimitInSeconds(value) {
        this._taskTimeLimitInSeconds = value;
    }
    resetTaskTimeLimitInSeconds() {
        this._taskTimeLimitInSeconds = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get taskTimeLimitInSecondsInput() {
        return this._taskTimeLimitInSeconds;
    }
    // task_title - computed: false, optional: false, required: true
    _taskTitle;
    get taskTitle() {
        return this.getStringAttribute('task_title');
    }
    set taskTitle(value) {
        this._taskTitle = value;
    }
    // Temporarily expose input value. Use with caution.
    get taskTitleInput() {
        return this._taskTitle;
    }
    // workteam_arn - computed: false, optional: false, required: true
    _workteamArn;
    get workteamArn() {
        return this.getStringAttribute('workteam_arn');
    }
    set workteamArn(value) {
        this._workteamArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get workteamArnInput() {
        return this._workteamArn;
    }
    // public_workforce_task_price - computed: false, optional: true, required: false
    _publicWorkforceTaskPrice = new SagemakerFlowDefinitionHumanLoopConfigPublicWorkforceTaskPriceOutputReference(this, "public_workforce_task_price", true);
    get publicWorkforceTaskPrice() {
        return this._publicWorkforceTaskPrice;
    }
    putPublicWorkforceTaskPrice(value) {
        this._publicWorkforceTaskPrice.internalValue = value;
    }
    resetPublicWorkforceTaskPrice() {
        this._publicWorkforceTaskPrice.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get publicWorkforceTaskPriceInput() {
        return this._publicWorkforceTaskPrice.internalValue;
    }
}
export function sagemakerFlowDefinitionHumanLoopRequestSourceToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        aws_managed_human_loop_request_source: cdktf.stringToTerraform(struct.awsManagedHumanLoopRequestSource),
    };
}
export class SagemakerFlowDefinitionHumanLoopRequestSourceOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._awsManagedHumanLoopRequestSource !== undefined) {
            hasAnyValues = true;
            internalValueResult.awsManagedHumanLoopRequestSource = this._awsManagedHumanLoopRequestSource;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._awsManagedHumanLoopRequestSource = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._awsManagedHumanLoopRequestSource = value.awsManagedHumanLoopRequestSource;
        }
    }
    // aws_managed_human_loop_request_source - computed: false, optional: false, required: true
    _awsManagedHumanLoopRequestSource;
    get awsManagedHumanLoopRequestSource() {
        return this.getStringAttribute('aws_managed_human_loop_request_source');
    }
    set awsManagedHumanLoopRequestSource(value) {
        this._awsManagedHumanLoopRequestSource = value;
    }
    // Temporarily expose input value. Use with caution.
    get awsManagedHumanLoopRequestSourceInput() {
        return this._awsManagedHumanLoopRequestSource;
    }
}
export function sagemakerFlowDefinitionOutputConfigToTerraform(struct) {
    if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
        return struct;
    }
    if (cdktf.isComplexElement(struct)) {
        throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
    }
    return {
        kms_key_id: cdktf.stringToTerraform(struct.kmsKeyId),
        s3_output_path: cdktf.stringToTerraform(struct.s3OutputPath),
    };
}
export class SagemakerFlowDefinitionOutputConfigOutputReference extends cdktf.ComplexObject {
    isEmptyObject = false;
    /**
    * @param terraformResource The parent resource
    * @param terraformAttribute The attribute on the parent resource this class is referencing
    * @param isSingleItem True if this is a block, false if it's a list
    */
    constructor(terraformResource, terraformAttribute, isSingleItem) {
        super(terraformResource, terraformAttribute, isSingleItem);
    }
    get internalValue() {
        let hasAnyValues = this.isEmptyObject;
        const internalValueResult = {};
        if (this._kmsKeyId !== undefined) {
            hasAnyValues = true;
            internalValueResult.kmsKeyId = this._kmsKeyId;
        }
        if (this._s3OutputPath !== undefined) {
            hasAnyValues = true;
            internalValueResult.s3OutputPath = this._s3OutputPath;
        }
        return hasAnyValues ? internalValueResult : undefined;
    }
    set internalValue(value) {
        if (value === undefined) {
            this.isEmptyObject = false;
            this._kmsKeyId = undefined;
            this._s3OutputPath = undefined;
        }
        else {
            this.isEmptyObject = Object.keys(value).length === 0;
            this._kmsKeyId = value.kmsKeyId;
            this._s3OutputPath = value.s3OutputPath;
        }
    }
    // kms_key_id - computed: false, optional: true, required: false
    _kmsKeyId;
    get kmsKeyId() {
        return this.getStringAttribute('kms_key_id');
    }
    set kmsKeyId(value) {
        this._kmsKeyId = value;
    }
    resetKmsKeyId() {
        this._kmsKeyId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get kmsKeyIdInput() {
        return this._kmsKeyId;
    }
    // s3_output_path - computed: false, optional: false, required: true
    _s3OutputPath;
    get s3OutputPath() {
        return this.getStringAttribute('s3_output_path');
    }
    set s3OutputPath(value) {
        this._s3OutputPath = value;
    }
    // Temporarily expose input value. Use with caution.
    get s3OutputPathInput() {
        return this._s3OutputPath;
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_flow_definition aws_sagemaker_flow_definition}
*/
export class SagemakerFlowDefinition extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_sagemaker_flow_definition";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_flow_definition aws_sagemaker_flow_definition} 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 SagemakerFlowDefinitionConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_sagemaker_flow_definition',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._flowDefinitionName = config.flowDefinitionName;
        this._roleArn = config.roleArn;
        this._tags = config.tags;
        this._tagsAll = config.tagsAll;
        this._humanLoopActivationConfig.internalValue = config.humanLoopActivationConfig;
        this._humanLoopConfig.internalValue = config.humanLoopConfig;
        this._humanLoopRequestSource.internalValue = config.humanLoopRequestSource;
        this._outputConfig.internalValue = config.outputConfig;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // flow_definition_name - computed: false, optional: false, required: true
    _flowDefinitionName;
    get flowDefinitionName() {
        return this.getStringAttribute('flow_definition_name');
    }
    set flowDefinitionName(value) {
        this._flowDefinitionName = value;
    }
    // Temporarily expose input value. Use with caution.
    get flowDefinitionNameInput() {
        return this._flowDefinitionName;
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // role_arn - computed: false, optional: false, required: true
    _roleArn;
    get roleArn() {
        return this.getStringAttribute('role_arn');
    }
    set roleArn(value) {
        this._roleArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get roleArnInput() {
        return this._roleArn;
    }
    // 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;
    }
    // human_loop_activation_config - computed: false, optional: true, required: false
    _humanLoopActivationConfig = new SagemakerFlowDefinitionHumanLoopActivationConfigOutputReference(this, "human_loop_activation_config", true);
    get humanLoopActivationConfig() {
        return this._humanLoopActivationConfig;
    }
    putHumanLoopActivationConfig(value) {
        this._humanLoopActivationConfig.internalValue = value;
    }
    resetHumanLoopActivationConfig() {
        this._humanLoopActivationConfig.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get humanLoopActivationConfigInput() {
        return this._humanLoopActivationConfig.internalValue;
    }
    // human_loop_config - computed: false, optional: false, required: true
    _humanLoopConfig = new SagemakerFlowDefinitionHumanLoopConfigOutputReference(this, "human_loop_config", true);
    get humanLoopConfig() {
        return this._humanLoopConfig;
    }
    putHumanLoopConfig(value) {
        this._humanLoopConfig.internalValue = value;
    }
    // Temporarily expose input value. Use with caution.
    get humanLoopConfigInput() {
        return this._humanLoopConfig.internalValue;
    }
    // human_loop_request_source - computed: false, optional: true, required: false
    _humanLoopRequestSource = new SagemakerFlowDefinitionHumanLoopRequestSourceOutputReference(this, "human_loop_request_source", true);
    get humanLoopRequestSource() {
        return this._humanLoopRequestSource;
    }
    putHumanLoopRequestSource(value) {
        this._humanLoopRequestSource.internalValue = value;
    }
    resetHumanLoopRequestSource() {
        this._humanLoopRequestSource.internalValue = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get humanLoopRequestSourceInput() {
        return this._humanLoopRequestSource.internalValue;
    }
    // output_config - computed: false, optional: false, required: true
    _outputConfig = new SagemakerFlowDefinitionOutputConfigOutputReference(this, "output_config", true);
    get outputConfig() {
        return this._outputConfig;
    }
    putOutputConfig(value) {
        this._outputConfig.internalValue = value;
    }
    // Temporarily expose input value. Use with caution.
    get outputConfigInput() {
        return this._outputConfig.internalValue;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            flow_definition_name: cdktf.stringToTerraform(this._flowDefinitionName),
            role_arn: cdktf.stringToTerraform(this._roleArn),
            tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._tags),
            tags_all: cdktf.hashMapper(cdktf.stringToTerraform)(this._tagsAll),
            human_loop_activation_config: sagemakerFlowDefinitionHumanLoopActivationConfigToTerraform(this._humanLoopActivationConfig.internalValue),
            human_loop_config: sagemakerFlowDefinitionHumanLoopConfigToTerraform(this._humanLoopConfig.internalValue),
            human_loop_request_source: sagemakerFlowDefinitionHumanLoopRequestSourceToTerraform(this._humanLoopRequestSource.internalValue),
            output_config: sagemakerFlowDefinitionOutputConfigToTerraform(this._outputConfig.internalValue),
        };
    }
}
//# sourceMappingURL=sagemaker-flow-definition.js.map