// https://www.terraform.io/docs/providers/aws/d/grafana_workspace
// generated from terraform resource schema
import * as cdktf from 'cdktf';
/**
* Represents a {@link https://www.terraform.io/docs/providers/aws/d/grafana_workspace aws_grafana_workspace}
*/
export class DataAwsGrafanaWorkspace extends cdktf.TerraformDataSource {
    // =================
    // STATIC PROPERTIES
    // =================
    static tfResourceType = "aws_grafana_workspace";
    // ===========
    // INITIALIZER
    // ===========
    /**
    * Create a new {@link https://www.terraform.io/docs/providers/aws/d/grafana_workspace aws_grafana_workspace} 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 DataAwsGrafanaWorkspaceConfig
    */
    constructor(scope, id, config) {
        super(scope, id, {
            terraformResourceType: 'aws_grafana_workspace',
            terraformGeneratorMetadata: {
                providerName: 'aws'
            },
            provider: config.provider,
            dependsOn: config.dependsOn,
            count: config.count,
            lifecycle: config.lifecycle
        });
        this._workspaceId = config.workspaceId;
    }
    // ==========
    // ATTRIBUTES
    // ==========
    // account_access_type - computed: true, optional: false, required: false
    get accountAccessType() {
        return this.getStringAttribute('account_access_type');
    }
    // arn - computed: true, optional: false, required: false
    get arn() {
        return this.getStringAttribute('arn');
    }
    // authentication_providers - computed: true, optional: false, required: false
    get authenticationProviders() {
        return this.getListAttribute('authentication_providers');
    }
    // created_date - computed: true, optional: false, required: false
    get createdDate() {
        return this.getStringAttribute('created_date');
    }
    // data_sources - computed: true, optional: false, required: false
    get dataSources() {
        return this.getListAttribute('data_sources');
    }
    // description - computed: true, optional: false, required: false
    get description() {
        return this.getStringAttribute('description');
    }
    // endpoint - computed: true, optional: false, required: false
    get endpoint() {
        return this.getStringAttribute('endpoint');
    }
    // grafana_version - computed: true, optional: false, required: false
    get grafanaVersion() {
        return this.getStringAttribute('grafana_version');
    }
    // id - computed: true, optional: true, required: false
    get id() {
        return this.getStringAttribute('id');
    }
    // last_updated_date - computed: true, optional: false, required: false
    get lastUpdatedDate() {
        return this.getStringAttribute('last_updated_date');
    }
    // name - computed: true, optional: false, required: false
    get name() {
        return this.getStringAttribute('name');
    }
    // notification_destinations - computed: true, optional: false, required: false
    get notificationDestinations() {
        return this.getListAttribute('notification_destinations');
    }
    // organization_role_name - computed: true, optional: false, required: false
    get organizationRoleName() {
        return this.getStringAttribute('organization_role_name');
    }
    // organizational_units - computed: true, optional: false, required: false
    get organizationalUnits() {
        return this.getListAttribute('organizational_units');
    }
    // permission_type - computed: true, optional: false, required: false
    get permissionType() {
        return this.getStringAttribute('permission_type');
    }
    // role_arn - computed: true, optional: false, required: false
    get roleArn() {
        return this.getStringAttribute('role_arn');
    }
    // saml_configuration_status - computed: true, optional: false, required: false
    get samlConfigurationStatus() {
        return this.getStringAttribute('saml_configuration_status');
    }
    // stack_set_name - computed: true, optional: false, required: false
    get stackSetName() {
        return this.getStringAttribute('stack_set_name');
    }
    // status - computed: true, optional: false, required: false
    get status() {
        return this.getStringAttribute('status');
    }
    // workspace_id - computed: false, optional: false, required: true
    _workspaceId;
    get workspaceId() {
        return this.getStringAttribute('workspace_id');
    }
    set workspaceId(value) {
        this._workspaceId = value;
    }
    // Temporarily expose input value. Use with caution.
    get workspaceIdInput() {
        return this._workspaceId;
    }
    // =========
    // SYNTHESIS
    // =========
    synthesizeAttributes() {
        return {
            workspace_id: cdktf.stringToTerraform(this._workspaceId),
        };
    }
}
//# sourceMappingURL=data-aws-grafana-workspace.js.map