Interface CfnDataSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:23.376Z")
@Stability(Stable)
public interface CfnDataSetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDataSet.
Example:
// 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.*;
Object tagRuleConfigurations;
CfnDataSetProps cfnDataSetProps = CfnDataSetProps.builder()
.awsAccountId("awsAccountId")
.columnGroups(List.of(ColumnGroupProperty.builder()
.geoSpatialColumnGroup(GeoSpatialColumnGroupProperty.builder()
.columns(List.of("columns"))
.name("name")
// the properties below are optional
.countryCode("countryCode")
.build())
.build()))
.columnLevelPermissionRules(List.of(ColumnLevelPermissionRuleProperty.builder()
.columnNames(List.of("columnNames"))
.principals(List.of("principals"))
.build()))
.dataSetId("dataSetId")
.datasetParameters(List.of(DatasetParameterProperty.builder()
.dateTimeDatasetParameter(DateTimeDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(DateTimeDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of("staticValues"))
.build())
.timeGranularity("timeGranularity")
.build())
.decimalDatasetParameter(DecimalDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(DecimalDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of(123))
.build())
.build())
.integerDatasetParameter(IntegerDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(IntegerDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of(123))
.build())
.build())
.stringDatasetParameter(StringDatasetParameterProperty.builder()
.id("id")
.name("name")
.valueType("valueType")
// the properties below are optional
.defaultValues(StringDatasetParameterDefaultValuesProperty.builder()
.staticValues(List.of("staticValues"))
.build())
.build())
.build()))
.dataSetRefreshProperties(DataSetRefreshPropertiesProperty.builder()
.refreshConfiguration(RefreshConfigurationProperty.builder()
.incrementalRefresh(IncrementalRefreshProperty.builder()
.lookbackWindow(LookbackWindowProperty.builder()
.columnName("columnName")
.size(123)
.sizeUnit("sizeUnit")
.build())
.build())
.build())
.build())
.dataSetUsageConfiguration(DataSetUsageConfigurationProperty.builder()
.disableUseAsDirectQuerySource(false)
.disableUseAsImportedSource(false)
.build())
.fieldFolders(Map.of(
"fieldFoldersKey", FieldFolderProperty.builder()
.columns(List.of("columns"))
.description("description")
.build()))
.importMode("importMode")
.ingestionWaitPolicy(IngestionWaitPolicyProperty.builder()
.ingestionWaitTimeInHours(123)
.waitForSpiceIngestion(false)
.build())
.logicalTableMap(Map.of(
"logicalTableMapKey", LogicalTableProperty.builder()
.alias("alias")
.source(LogicalTableSourceProperty.builder()
.dataSetArn("dataSetArn")
.joinInstruction(JoinInstructionProperty.builder()
.leftOperand("leftOperand")
.onClause("onClause")
.rightOperand("rightOperand")
.type("type")
// the properties below are optional
.leftJoinKeyProperties(JoinKeyPropertiesProperty.builder()
.uniqueKey(false)
.build())
.rightJoinKeyProperties(JoinKeyPropertiesProperty.builder()
.uniqueKey(false)
.build())
.build())
.physicalTableId("physicalTableId")
.build())
// the properties below are optional
.dataTransforms(List.of(TransformOperationProperty.builder()
.castColumnTypeOperation(CastColumnTypeOperationProperty.builder()
.columnName("columnName")
.newColumnType("newColumnType")
// the properties below are optional
.format("format")
.build())
.createColumnsOperation(CreateColumnsOperationProperty.builder()
.columns(List.of(CalculatedColumnProperty.builder()
.columnId("columnId")
.columnName("columnName")
.expression("expression")
.build()))
.build())
.filterOperation(FilterOperationProperty.builder()
.conditionExpression("conditionExpression")
.build())
.overrideDatasetParameterOperation(OverrideDatasetParameterOperationProperty.builder()
.parameterName("parameterName")
// the properties below are optional
.newDefaultValues(NewDefaultValuesProperty.builder()
.dateTimeStaticValues(List.of("dateTimeStaticValues"))
.decimalStaticValues(List.of(123))
.integerStaticValues(List.of(123))
.stringStaticValues(List.of("stringStaticValues"))
.build())
.newParameterName("newParameterName")
.build())
.projectOperation(ProjectOperationProperty.builder()
.projectedColumns(List.of("projectedColumns"))
.build())
.renameColumnOperation(RenameColumnOperationProperty.builder()
.columnName("columnName")
.newColumnName("newColumnName")
.build())
.tagColumnOperation(TagColumnOperationProperty.builder()
.columnName("columnName")
.tags(List.of(ColumnTagProperty.builder()
.columnDescription(ColumnDescriptionProperty.builder()
.text("text")
.build())
.columnGeographicRole("columnGeographicRole")
.build()))
.build())
.build()))
.build()))
.name("name")
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
.build()))
.physicalTableMap(Map.of(
"physicalTableMapKey", PhysicalTableProperty.builder()
.customSql(CustomSqlProperty.builder()
.columns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
.build()))
.dataSourceArn("dataSourceArn")
.name("name")
.sqlQuery("sqlQuery")
.build())
.relationalTable(RelationalTableProperty.builder()
.dataSourceArn("dataSourceArn")
.inputColumns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
.build()))
.name("name")
// the properties below are optional
.catalog("catalog")
.schema("schema")
.build())
.s3Source(S3SourceProperty.builder()
.dataSourceArn("dataSourceArn")
.inputColumns(List.of(InputColumnProperty.builder()
.name("name")
.type("type")
.build()))
// the properties below are optional
.uploadSettings(UploadSettingsProperty.builder()
.containsHeader(false)
.delimiter("delimiter")
.format("format")
.startFromRow(123)
.textQualifier("textQualifier")
.build())
.build())
.build()))
.rowLevelPermissionDataSet(RowLevelPermissionDataSetProperty.builder()
.arn("arn")
.permissionPolicy("permissionPolicy")
// the properties below are optional
.formatVersion("formatVersion")
.namespace("namespace")
.status("status")
.build())
.rowLevelPermissionTagConfiguration(RowLevelPermissionTagConfigurationProperty.builder()
.tagRules(List.of(RowLevelPermissionTagRuleProperty.builder()
.columnName("columnName")
.tagKey("tagKey")
// the properties below are optional
.matchAllValue("matchAllValue")
.tagMultiValueDelimiter("tagMultiValueDelimiter")
.build()))
// the properties below are optional
.status("status")
.tagRuleConfigurations(tagRuleConfigurations)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSetPropsstatic final classAn implementation forCfnDataSetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDataSetProps.Builderbuilder()default StringThe AWS account ID.default ObjectGroupings of columns that work together in certain Amazon QuickSight features.default ObjectA set of one or more definitions of aColumnLevelPermissionRule.default StringAn ID for the dataset that you want to create.default ObjectAWS::QuickSight::DataSet.DatasetParameters.default ObjectAWS::QuickSight::DataSet.DataSetRefreshProperties.default ObjectThe usage configuration to apply to child datasets that reference this dataset as a source.default ObjectThe folder that contains fields and nested subfolders for your dataset.default StringIndicates whether you want to import the data into SPICE.default ObjectThe wait policy to use when creating or updating a Dataset.default ObjectConfigures the combination and transformation of the data from the physical tables.default StringgetName()The display name for the dataset.default ObjectA list of resource permissions on the dataset.default ObjectDeclares the physical tables that are available in the underlying data sources.default ObjectThe row-level security configuration for the data that you want to create.default ObjectThe element you can use to define tags for row-level security.getTags()Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsAccountId
The AWS account ID. -
getColumnGroups
Groupings of columns that work together in certain Amazon QuickSight features.Currently, only geospatial hierarchy is supported.
-
getColumnLevelPermissionRules
A set of one or more definitions of aColumnLevelPermissionRule. -
getDataSetId
An ID for the dataset that you want to create.This ID is unique per AWS Region for each AWS account.
-
getDatasetParameters
AWS::QuickSight::DataSet.DatasetParameters. -
getDataSetRefreshProperties
AWS::QuickSight::DataSet.DataSetRefreshProperties. -
getDataSetUsageConfiguration
The usage configuration to apply to child datasets that reference this dataset as a source. -
getFieldFolders
The folder that contains fields and nested subfolders for your dataset. -
getImportMode
Indicates whether you want to import the data into SPICE. -
getIngestionWaitPolicy
The wait policy to use when creating or updating a Dataset.The default is to wait for SPICE ingestion to finish with timeout of 36 hours.
-
getLogicalTableMap
Configures the combination and transformation of the data from the physical tables. -
getName
The display name for the dataset. -
getPermissions
A list of resource permissions on the dataset. -
getPhysicalTableMap
Declares the physical tables that are available in the underlying data sources. -
getRowLevelPermissionDataSet
The row-level security configuration for the data that you want to create. -
getRowLevelPermissionTagConfiguration
The element you can use to define tags for row-level security. -
getTags
Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset. -
builder
- Returns:
- a
CfnDataSetProps.BuilderofCfnDataSetProps
-