DataSetUsageConfigurationProperty Struct
The usage configuration to apply to child datasets that reference this dataset as a source.
Example
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
# 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
// 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();
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
};
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
disableUseAsDirectQuerySourceoptionalboolean | IResolvabledisable_use_as_direct_query_sourceoptionaltyping.Union[bool, IResolvable]disableUseAsDirectQuerySourceoptionalBooleanDisableUseAsDirectQuerySourceoptionalboolDisableUseAsDirectQuerySourceoptionalinterface{}= false#An option that controls whether a child dataset of a direct query can use this dataset as a source.
disableUseAsImportedSourceoptionalboolean | IResolvabledisable_use_as_imported_sourceoptionaltyping.Union[bool, IResolvable]disableUseAsImportedSourceoptionalBooleanDisableUseAsImportedSourceoptionalboolDisableUseAsImportedSourceoptionalinterface{}= false#An option that controls whether a child dataset that's stored in Quick Sight can use this dataset as a source.