# DataSetUsageConfigurationProperty

The usage configuration to apply to child datasets that reference this dataset as a source.

- Source: Generated at build time
- Type last changed: v2.143.0 · 24 May 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const dataSetUsageConfigurationProperty: quicksight.CfnDataSet.DataSetUsageConfigurationProperty = {
  disableUseAsDirectQuerySource: false,
  disableUseAsImportedSource: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_quicksight as quicksight

data_set_usage_configuration_property = quicksight.CfnDataSet.DataSetUsageConfigurationProperty(
    disable_use_as_direct_query_source=False,
    disable_use_as_imported_source=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;

DataSetUsageConfigurationProperty dataSetUsageConfigurationProperty = DataSetUsageConfigurationProperty.builder()
        .disableUseAsDirectQuerySource(false)
        .disableUseAsImportedSource(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.QuickSight;

var dataSetUsageConfigurationProperty = new DataSetUsageConfigurationProperty {
    DisableUseAsDirectQuerySource = false,
    DisableUseAsImportedSource = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dataSetUsageConfigurationProperty := &DataSetUsageConfigurationProperty{
	DisableUseAsDirectQuerySource: jsii.Boolean(false),
	DisableUseAsImportedSource: jsii.Boolean(false),
}
```

## Properties

- `disableUseAsDirectQuerySource`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — An option that controls whether a child dataset of a direct query can use this dataset as a source.

- `disableUseAsImportedSource`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — An option that controls whether a child dataset that's stored in Quick Sight can use this dataset as a source.
