// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/r/cognito_identity_pool_provider_principal_tag aws_cognito_identity_pool_provider_principal_tag}
*/
export class CognitoIdentityPoolProviderPrincipalTag extends cdktf.TerraformResource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_cognito_identity_pool_provider_principal_tag";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/r/cognito_identity_pool_provider_principal_tag aws_cognito_identity_pool_provider_principal_tag} 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 CognitoIdentityPoolProviderPrincipalTagConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_cognito_identity_pool_provider_principal_tag',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._identityPoolId = config.identityPoolId;
        this._identityProviderName = config.identityProviderName;
        this._principalTags = config.principalTags;
        this._useDefaults = config.useDefaults;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // identity_pool_id - computed: false, optional: false, required: true
    _identityPoolId;
    get identityPoolId() {
        return this.getStringAttribute('identity_pool_id');
    }
    set identityPoolId(value) {
        this._identityPoolId = value;
    }
    // Temporarily expose input value. Use with caution.
    get identityPoolIdInput() {
        return this._identityPoolId;
    }
    // identity_provider_name - computed: false, optional: false, required: true
    _identityProviderName;
    get identityProviderName() {
        return this.getStringAttribute('identity_provider_name');
    }
    set identityProviderName(value) {
        this._identityProviderName = value;
    }
    // Temporarily expose input value. Use with caution.
    get identityProviderNameInput() {
        return this._identityProviderName;
    }
    // principal_tags - computed: false, optional: true, required: false
    _principalTags;
    get principalTags() {
        return this.getStringMapAttribute('principal_tags');
    }
    set principalTags(value) {
        this._principalTags = value;
    }
    resetPrincipalTags() {
        this._principalTags = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get principalTagsInput() {
        return this._principalTags;
    }
    // use_defaults - computed: false, optional: true, required: false
    _useDefaults;
    get useDefaults() {
        return this.getBooleanAttribute('use_defaults');
    }
    set useDefaults(value) {
        this._useDefaults = value;
    }
    resetUseDefaults() {
        this._useDefaults = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get useDefaultsInput() {
        return this._useDefaults;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            identity_pool_id: cdktf.stringToTerraform(this._identityPoolId),
            identity_provider_name: cdktf.stringToTerraform(this._identityProviderName),
            principal_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._principalTags),
            use_defaults: cdktf.booleanToTerraform(this._useDefaults),
        };
    }
}
//# sourceMappingURL=cognito-identity-pool-provider-principal-tag.js.map