// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_model_package_group_policy aws_sagemaker_model_package_group_policy}
*/
export class SagemakerModelPackageGroupPolicy extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_sagemaker_model_package_group_policy";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/sagemaker_model_package_group_policy aws_sagemaker_model_package_group_policy} 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 SagemakerModelPackageGroupPolicyConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_sagemaker_model_package_group_policy',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._modelPackageGroupName = config.modelPackageGroupName;
        this._resourcePolicy = config.resourcePolicy;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // model_package_group_name - computed: false, optional: false, required: true
    _modelPackageGroupName;
    get modelPackageGroupName() {
        return this.getStringAttribute('model_package_group_name');
    }
    set modelPackageGroupName(value) {
        this._modelPackageGroupName = value;
    }
    // Temporarily expose input value. Use with caution.
    get modelPackageGroupNameInput() {
        return this._modelPackageGroupName;
    }
    // resource_policy - computed: false, optional: false, required: true
    _resourcePolicy;
    get resourcePolicy() {
        return this.getStringAttribute('resource_policy');
    }
    set resourcePolicy(value) {
        this._resourcePolicy = value;
    }
    // Temporarily expose input value. Use with caution.
    get resourcePolicyInput() {
        return this._resourcePolicy;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            model_package_group_name: cdktf.stringToTerraform(this._modelPackageGroupName),
            resource_policy: cdktf.stringToTerraform(this._resourcePolicy),
        };
    }
}
//# sourceMappingURL=sagemaker-model-package-group-policy.js.map