Class CfnDataSet

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IDataSetRef, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:15.656Z") @Stability(Stable) public class CfnDataSet extends CfnResource implements IInspectable, IDataSetRef, ITaggable
Creates a dataset.

This operation doesn't support datasets that include uploaded files as a source.

Example:

 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDataSet

      protected CfnDataSet(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDataSet

      protected CfnDataSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDataSet

      @Stability(Stable) public CfnDataSet(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnDataSetProps props)
      Create a new AWS::QuickSight::DataSet.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnDataSet

      @Stability(Stable) public CfnDataSet(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::QuickSight::DataSet.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForDataSet

      @Stability(Stable) @NotNull public static String arnForDataSet(@NotNull IDataSetRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnDataSet

      @Stability(Stable) @NotNull public static Boolean isCfnDataSet(@NotNull Object x)
      Checks whether the given object is a CfnDataSet.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the dataset.
    • getAttrConsumedSpiceCapacityInBytes

      @Stability(Stable) @NotNull public IResolvable getAttrConsumedSpiceCapacityInBytes()

      The amount of SPICE capacity used by this dataset.

      This is 0 if the dataset isn't imported into SPICE.

    • getAttrCreatedTime

      @Stability(Stable) @NotNull public String getAttrCreatedTime()
      The time this dataset version was created.
    • getAttrLastUpdatedTime

      @Stability(Stable) @NotNull public String getAttrLastUpdatedTime()
      The time this dataset version was last updated.
    • getAttrOutputColumns

      @Stability(Stable) @NotNull public IResolvable getAttrOutputColumns()

      The list of columns after all transforms.

      These columns are available in templates, analyses, and dashboards.

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDataSetRef

      @Stability(Stable) @NotNull public DataSetReference getDataSetRef()
      A reference to a DataSet resource.
      Specified by:
      getDataSetRef in interface IDataSetRef
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAwsAccountId

      @Stability(Stable) @Nullable public String getAwsAccountId()
      The AWS account ID.
    • setAwsAccountId

      @Stability(Stable) public void setAwsAccountId(@Nullable String value)
      The AWS account ID.
    • getColumnGroups

      @Stability(Stable) @Nullable public Object getColumnGroups()
      Groupings of columns that work together in certain Amazon Quick Sight features.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnDataSet.ColumnGroupProperty>

    • setColumnGroups

      @Stability(Stable) public void setColumnGroups(@Nullable IResolvable value)
      Groupings of columns that work together in certain Amazon Quick Sight features.
    • setColumnGroups

      @Stability(Stable) public void setColumnGroups(@Nullable List<Object> value)
      Groupings of columns that work together in certain Amazon Quick Sight features.
    • getColumnLevelPermissionRules

      @Stability(Stable) @Nullable public Object getColumnLevelPermissionRules()
      A set of one or more definitions of a ColumnLevelPermissionRule .

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnDataSet.ColumnLevelPermissionRuleProperty>

    • setColumnLevelPermissionRules

      @Stability(Stable) public void setColumnLevelPermissionRules(@Nullable IResolvable value)
      A set of one or more definitions of a ColumnLevelPermissionRule .
    • setColumnLevelPermissionRules

      @Stability(Stable) public void setColumnLevelPermissionRules(@Nullable List<Object> value)
      A set of one or more definitions of a ColumnLevelPermissionRule .
    • getDataPrepConfiguration

      @Stability(Stable) @Nullable public Object getDataPrepConfiguration()
      The data preparation configuration associated with this dataset.

      Returns union: either IResolvable or CfnDataSet.DataPrepConfigurationProperty

    • setDataPrepConfiguration

      @Stability(Stable) public void setDataPrepConfiguration(@Nullable IResolvable value)
      The data preparation configuration associated with this dataset.
    • setDataPrepConfiguration

      @Stability(Stable) public void setDataPrepConfiguration(@Nullable CfnDataSet.DataPrepConfigurationProperty value)
      The data preparation configuration associated with this dataset.
    • getDataSetId

      @Stability(Stable) @Nullable public String getDataSetId()
      An ID for the dataset that you want to create.
    • setDataSetId

      @Stability(Stable) public void setDataSetId(@Nullable String value)
      An ID for the dataset that you want to create.
    • getDatasetParameters

      @Stability(Stable) @Nullable public Object getDatasetParameters()
      The parameters that are declared in a dataset.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnDataSet.DatasetParameterProperty>

    • setDatasetParameters

      @Stability(Stable) public void setDatasetParameters(@Nullable IResolvable value)
      The parameters that are declared in a dataset.
    • setDatasetParameters

      @Stability(Stable) public void setDatasetParameters(@Nullable List<Object> value)
      The parameters that are declared in a dataset.
    • getDataSetRefreshProperties

      @Stability(Stable) @Nullable public Object getDataSetRefreshProperties()
      The refresh properties of a dataset.

      Returns union: either IResolvable or CfnDataSet.DataSetRefreshPropertiesProperty

    • setDataSetRefreshProperties

      @Stability(Stable) public void setDataSetRefreshProperties(@Nullable IResolvable value)
      The refresh properties of a dataset.
    • setDataSetRefreshProperties

      @Stability(Stable) public void setDataSetRefreshProperties(@Nullable CfnDataSet.DataSetRefreshPropertiesProperty value)
      The refresh properties of a dataset.
    • getDataSetUsageConfiguration

      @Stability(Stable) @Nullable public Object getDataSetUsageConfiguration()
      The usage configuration to apply to child datasets that reference this dataset as a source.

      Returns union: either IResolvable or CfnDataSet.DataSetUsageConfigurationProperty

    • setDataSetUsageConfiguration

      @Stability(Stable) public void setDataSetUsageConfiguration(@Nullable IResolvable value)
      The usage configuration to apply to child datasets that reference this dataset as a source.
    • setDataSetUsageConfiguration

      @Stability(Stable) public void setDataSetUsageConfiguration(@Nullable CfnDataSet.DataSetUsageConfigurationProperty value)
      The usage configuration to apply to child datasets that reference this dataset as a source.
    • getFieldFolders

      @Stability(Stable) @Nullable public Object getFieldFolders()
      The folder that contains fields and nested subfolders for your dataset.

      Returns union: either IResolvable or Mapinvalid input: '<'String, either IResolvable or CfnDataSet.FieldFolderProperty>

    • setFieldFolders

      @Stability(Stable) public void setFieldFolders(@Nullable IResolvable value)
      The folder that contains fields and nested subfolders for your dataset.
    • setFieldFolders

      @Stability(Stable) public void setFieldFolders(@Nullable Map<String,Object> value)
      The folder that contains fields and nested subfolders for your dataset.
    • getFolderArns

      @Stability(Stable) @Nullable public List<String> getFolderArns()

      When you create the dataset, Amazon QuickSight adds the dataset to these folders.

      .
    • setFolderArns

      @Stability(Stable) public void setFolderArns(@Nullable List<String> value)

      When you create the dataset, Amazon QuickSight adds the dataset to these folders.

      .
    • getImportMode

      @Stability(Stable) @Nullable public String getImportMode()
      Indicates whether you want to import the data into SPICE.
    • setImportMode

      @Stability(Stable) public void setImportMode(@Nullable String value)
      Indicates whether you want to import the data into SPICE.
    • getIngestionWaitPolicy

      @Stability(Stable) @Nullable public Object getIngestionWaitPolicy()
      The wait policy to use when creating or updating a Dataset.

      Returns union: either IResolvable or CfnDataSet.IngestionWaitPolicyProperty

    • setIngestionWaitPolicy

      @Stability(Stable) public void setIngestionWaitPolicy(@Nullable IResolvable value)
      The wait policy to use when creating or updating a Dataset.
    • setIngestionWaitPolicy

      @Stability(Stable) public void setIngestionWaitPolicy(@Nullable CfnDataSet.IngestionWaitPolicyProperty value)
      The wait policy to use when creating or updating a Dataset.
    • getLogicalTableMap

      @Stability(Deprecated) @Deprecated @Nullable public Object getLogicalTableMap()
      Deprecated.
      this property has been deprecated
      Returns union: either IResolvable or Mapinvalid input: '<'String, either IResolvable or CfnDataSet.LogicalTableProperty>

    • setLogicalTableMap

      @Stability(Deprecated) @Deprecated public void setLogicalTableMap(@Nullable IResolvable value)
      Deprecated.
      this property has been deprecated
    • setLogicalTableMap

      @Stability(Deprecated) @Deprecated public void setLogicalTableMap(@Nullable Map<String,Object> value)
      Deprecated.
      this property has been deprecated
    • getName

      @Stability(Stable) @Nullable public String getName()
      The display name for the dataset.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The display name for the dataset.
    • getPerformanceConfiguration

      @Stability(Stable) @Nullable public Object getPerformanceConfiguration()
      The performance optimization configuration of a dataset.

      Returns union: either IResolvable or CfnDataSet.PerformanceConfigurationProperty

    • setPerformanceConfiguration

      @Stability(Stable) public void setPerformanceConfiguration(@Nullable IResolvable value)
      The performance optimization configuration of a dataset.
    • setPerformanceConfiguration

      @Stability(Stable) public void setPerformanceConfiguration(@Nullable CfnDataSet.PerformanceConfigurationProperty value)
      The performance optimization configuration of a dataset.
    • getPermissions

      @Stability(Stable) @Nullable public Object getPermissions()
      A list of resource permissions on the dataset.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnDataSet.ResourcePermissionProperty>

    • setPermissions

      @Stability(Stable) public void setPermissions(@Nullable IResolvable value)
      A list of resource permissions on the dataset.
    • setPermissions

      @Stability(Stable) public void setPermissions(@Nullable List<Object> value)
      A list of resource permissions on the dataset.
    • getPhysicalTableMap

      @Stability(Stable) @Nullable public Object getPhysicalTableMap()
      Declares the physical tables that are available in the underlying data sources.

      Returns union: either IResolvable or Mapinvalid input: '<'String, either IResolvable or CfnDataSet.PhysicalTableProperty>

    • setPhysicalTableMap

      @Stability(Stable) public void setPhysicalTableMap(@Nullable IResolvable value)
      Declares the physical tables that are available in the underlying data sources.
    • setPhysicalTableMap

      @Stability(Stable) public void setPhysicalTableMap(@Nullable Map<String,Object> value)
      Declares the physical tables that are available in the underlying data sources.
    • getRowLevelPermissionDataSet

      @Stability(Deprecated) @Deprecated @Nullable public Object getRowLevelPermissionDataSet()
      Deprecated.
      this property has been deprecated
      (deprecated)

      Information about a dataset that contains permissions for row-level security (RLS).

      Returns union: either IResolvable or CfnDataSet.RowLevelPermissionDataSetProperty

    • setRowLevelPermissionDataSet

      @Stability(Deprecated) @Deprecated public void setRowLevelPermissionDataSet(@Nullable IResolvable value)
      Deprecated.
      this property has been deprecated
      (deprecated)

      Information about a dataset that contains permissions for row-level security (RLS).

    • setRowLevelPermissionDataSet

      @Stability(Deprecated) @Deprecated public void setRowLevelPermissionDataSet(@Nullable CfnDataSet.RowLevelPermissionDataSetProperty value)
      Deprecated.
      this property has been deprecated
      (deprecated)

      Information about a dataset that contains permissions for row-level security (RLS).

    • getRowLevelPermissionTagConfiguration

      @Stability(Deprecated) @Deprecated @Nullable public Object getRowLevelPermissionTagConfiguration()
      Deprecated.
      this property has been deprecated
      (deprecated)

      The configuration of tags on a dataset to set row-level security.

      Returns union: either IResolvable or CfnDataSet.RowLevelPermissionTagConfigurationProperty

    • setRowLevelPermissionTagConfiguration

      @Stability(Deprecated) @Deprecated public void setRowLevelPermissionTagConfiguration(@Nullable IResolvable value)
      Deprecated.
      this property has been deprecated
      (deprecated)

      The configuration of tags on a dataset to set row-level security.

    • setRowLevelPermissionTagConfiguration

      @Stability(Deprecated) @Deprecated public void setRowLevelPermissionTagConfiguration(@Nullable CfnDataSet.RowLevelPermissionTagConfigurationProperty value)
      Deprecated.
      this property has been deprecated
      (deprecated)

      The configuration of tags on a dataset to set row-level security.

    • getSemanticModelConfiguration

      @Stability(Stable) @Nullable public Object getSemanticModelConfiguration()
      The semantic model configuration associated with this dataset.

      Returns union: either IResolvable or CfnDataSet.SemanticModelConfigurationProperty

    • setSemanticModelConfiguration

      @Stability(Stable) public void setSemanticModelConfiguration(@Nullable IResolvable value)
      The semantic model configuration associated with this dataset.
    • setSemanticModelConfiguration

      @Stability(Stable) public void setSemanticModelConfiguration(@Nullable CfnDataSet.SemanticModelConfigurationProperty value)
      The semantic model configuration associated with this dataset.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.
    • getUseAs

      @Stability(Stable) @Nullable public String getUseAs()
      The usage of the dataset.
    • setUseAs

      @Stability(Stable) public void setUseAs(@Nullable String value)
      The usage of the dataset.