// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/ram_principal_association aws_ram_principal_association}
*/
export class RamPrincipalAssociation extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_ram_principal_association";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/ram_principal_association aws_ram_principal_association} 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 RamPrincipalAssociationConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_ram_principal_association',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._principal = config.principal;
        this._resourceShareArn = config.resourceShareArn;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // principal - computed: false, optional: false, required: true
    _principal;
    get principal() {
        return this.getStringAttribute('principal');
    }
    set principal(value) {
        this._principal = value;
    }
    // Temporarily expose input value. Use with caution.
    get principalInput() {
        return this._principal;
    }
    // resource_share_arn - computed: false, optional: false, required: true
    _resourceShareArn;
    get resourceShareArn() {
        return this.getStringAttribute('resource_share_arn');
    }
    set resourceShareArn(value) {
        this._resourceShareArn = value;
    }
    // Temporarily expose input value. Use with caution.
    get resourceShareArnInput() {
        return this._resourceShareArn;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            principal: cdktf.stringToTerraform(this._principal),
            resource_share_arn: cdktf.stringToTerraform(this._resourceShareArn),
        };
    }
}
//# sourceMappingURL=ram-principal-association.js.map