// generated from terraform resource schema
import * as cdktf from 'cdktf';
export class DataAwsOrganizationsDelegatedAdministratorsDelegatedAdministrators extends cdktf.ComplexComputedList {
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // delegation_enabled_date - computed: true, optional: false, required: false
    get delegationEnabledDate() {
        return this.getStringAttribute('delegation_enabled_date');
    }
    // email - computed: true, optional: false, required: false
    get email() {
        return this.getStringAttribute('email');
    }
    // id - computed: true, optional: false, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // joined_method - computed: true, optional: false, required: false
    get joinedMethod() {
        return this.getStringAttribute('joined_method');
    }
    // joined_timestamp - computed: true, optional: false, required: false
    get joinedTimestamp() {
        return this.getStringAttribute('joined_timestamp');
    }
    // name - computed: true, optional: false, required: false
    get name() {
        return this.getStringAttribute('name');
    }
    // status - computed: true, optional: false, required: false
    get status() {
        return this.getStringAttribute('status');
    }
}
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/organizations_delegated_administrators aws_organizations_delegated_administrators}
*/
export class DataAwsOrganizationsDelegatedAdministrators extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_organizations_delegated_administrators";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/organizations_delegated_administrators aws_organizations_delegated_administrators} Data Source
    *
    * @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 DataAwsOrganizationsDelegatedAdministratorsConfig = {}
    */
    constructor(scope, id, config = {}) {
        super(scope, id, {
            terraformResourceType: 'aws_organizations_delegated_administrators',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._servicePrincipal = config.servicePrincipal;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // delegated_administrators - computed: true, optional: false, required: false
    delegatedAdministrators(index) {
        return new DataAwsOrganizationsDelegatedAdministratorsDelegatedAdministrators(this, 'delegated_administrators', index, true);
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // service_principal - computed: false, optional: true, required: false
    _servicePrincipal;
    get servicePrincipal() {
        return this.getStringAttribute('service_principal');
    }
    set servicePrincipal(value) {
        this._servicePrincipal = value;
    }
    resetServicePrincipal() {
        this._servicePrincipal = undefined;
    }
    // Temporarily expose input value. Use with caution.
    get servicePrincipalInput() {
        return this._servicePrincipal;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            service_principal: cdktf.stringToTerraform(this._servicePrincipal),
        };
    }
}
//# sourceMappingURL=data-aws-organizations-delegated-administrators.js.map