// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/emr_studio_session_mapping aws_emr_studio_session_mapping}
*/
export class EmrStudioSessionMapping extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_emr_studio_session_mapping";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/emr_studio_session_mapping aws_emr_studio_session_mapping} 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 EmrStudioSessionMappingConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_emr_studio_session_mapping',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._identityId = config.identityId;
        this._identityName = config.identityName;
        this._identityType = config.identityType;
        this._sessionPolicyArn = config.sessionPolicyArn;
        this._studioId = config.studioId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // identity_id - computed: true, optional: true, required: false
    _identityId;
    get identityId() {
        return this.getStringAttribute('identity_id');
    }
    set identityId(value) {
        this._identityId = value;
    }
    resetIdentityId() {
        this._identityId = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get identityIdInput() {
        return this._identityId;
    }
    // identity_name - computed: true, optional: true, required: false
    _identityName;
    get identityName() {
        return this.getStringAttribute('identity_name');
    }
    set identityName(value) {
        this._identityName = value;
    }
    resetIdentityName() {
        this._identityName = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get identityNameInput() {
        return this._identityName;
    }
    // identity_type - computed: false, optional: false, required: true
    _identityType;
    get identityType() {
        return this.getStringAttribute('identity_type');
    }
    set identityType(value) {
        this._identityType = value;
    }
    // Temporarily expose input value. Use with caution.
    get identityTypeInput() {
        return this._identityType;
    }
    // session_policy_arn - computed: false, optional: false, required: true
    _sessionPolicyArn;
    get sessionPolicyArn() {
        return this.getStringAttribute('session_policy_arn');
    }
    set sessionPolicyArn(value) {
        this._sessionPolicyArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get sessionPolicyArnInput() {
        return this._sessionPolicyArn;
    }
    // studio_id - computed: false, optional: false, required: true
    _studioId;
    get studioId() {
        return this.getStringAttribute('studio_id');
    }
    set studioId(value) {
        this._studioId = value;
    }
    // Temporarily expose input value. Use with caution.
    get studioIdInput() {
        return this._studioId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            identity_id: cdktf.stringToTerraform(this._identityId),
            identity_name: cdktf.stringToTerraform(this._identityName),
            identity_type: cdktf.stringToTerraform(this._identityType),
            session_policy_arn: cdktf.stringToTerraform(this._sessionPolicyArn),
            studio_id: cdktf.stringToTerraform(this._studioId),
        };
    }
}
//# sourceMappingURL=emr-studio-session-mapping.js.map