// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/ssoadmin_managed_policy_attachment aws_ssoadmin_managed_policy_attachment}
*/
export class SsoadminManagedPolicyAttachment extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_ssoadmin_managed_policy_attachment";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/ssoadmin_managed_policy_attachment aws_ssoadmin_managed_policy_attachment} 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 SsoadminManagedPolicyAttachmentConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_ssoadmin_managed_policy_attachment',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._instanceArn = config.instanceArn;
        this._managedPolicyArn = config.managedPolicyArn;
        this._permissionSetArn = config.permissionSetArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // instance_arn - computed: false, optional: false, required: true
    _instanceArn;
    get instanceArn() {
        return this.getStringAttribute('instance_arn');
    }
    set instanceArn(value) {
        this._instanceArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get instanceArnInput() {
        return this._instanceArn;
    }
    // managed_policy_arn - computed: false, optional: false, required: true
    _managedPolicyArn;
    get managedPolicyArn() {
        return this.getStringAttribute('managed_policy_arn');
    }
    set managedPolicyArn(value) {
        this._managedPolicyArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get managedPolicyArnInput() {
        return this._managedPolicyArn;
    }
    // managed_policy_name - computed: true, optional: false, required: false
    get managedPolicyName() {
        return this.getStringAttribute('managed_policy_name');
    }
    // permission_set_arn - computed: false, optional: false, required: true
    _permissionSetArn;
    get permissionSetArn() {
        return this.getStringAttribute('permission_set_arn');
    }
    set permissionSetArn(value) {
        this._permissionSetArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get permissionSetArnInput() {
        return this._permissionSetArn;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            instance_arn: cdktf.stringToTerraform(this._instanceArn),
            managed_policy_arn: cdktf.stringToTerraform(this._managedPolicyArn),
            permission_set_arn: cdktf.stringToTerraform(this._permissionSetArn),
        };
    }
}
//# sourceMappingURL=ssoadmin-managed-policy-attachment.js.map