Class CfnDataset
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.databrew.CfnDataset
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:56.079Z")
@Stability(Stable)
public class CfnDataset
extends CfnResource
implements IInspectable
A CloudFormation
AWS::DataBrew::Dataset.
Specifies a new DataBrew dataset.
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.databrew.*;
CfnDataset cfnDataset = CfnDataset.Builder.create(this, "MyCfnDataset")
.input(InputProperty.builder()
.databaseInputDefinition(DatabaseInputDefinitionProperty.builder()
.glueConnectionName("glueConnectionName")
// the properties below are optional
.databaseTableName("databaseTableName")
.queryString("queryString")
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.key("key")
.build())
.build())
.dataCatalogInputDefinition(DataCatalogInputDefinitionProperty.builder()
.catalogId("catalogId")
.databaseName("databaseName")
.tableName("tableName")
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.key("key")
.build())
.build())
.metadata(MetadataProperty.builder()
.sourceArn("sourceArn")
.build())
.s3InputDefinition(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.key("key")
.build())
.build())
.name("name")
// the properties below are optional
.format("format")
.formatOptions(FormatOptionsProperty.builder()
.csv(CsvOptionsProperty.builder()
.delimiter("delimiter")
.headerRow(false)
.build())
.excel(ExcelOptionsProperty.builder()
.headerRow(false)
.sheetIndexes(List.of(123))
.sheetNames(List.of("sheetNames"))
.build())
.json(JsonOptionsProperty.builder()
.multiLine(false)
.build())
.build())
.pathOptions(PathOptionsProperty.builder()
.filesLimit(FilesLimitProperty.builder()
.maxFiles(123)
// the properties below are optional
.order("order")
.orderedBy("orderedBy")
.build())
.lastModifiedDateCondition(FilterExpressionProperty.builder()
.expression("expression")
.valuesMap(List.of(FilterValueProperty.builder()
.value("value")
.valueReference("valueReference")
.build()))
.build())
.parameters(List.of(PathParameterProperty.builder()
.datasetParameter(DatasetParameterProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.createColumn(false)
.datetimeOptions(DatetimeOptionsProperty.builder()
.format("format")
// the properties below are optional
.localeCode("localeCode")
.timezoneOffset("timezoneOffset")
.build())
.filter(FilterExpressionProperty.builder()
.expression("expression")
.valuesMap(List.of(FilterValueProperty.builder()
.value("value")
.valueReference("valueReference")
.build()))
.build())
.build())
.pathParameterName("pathParameterName")
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDataset.static interfaceRepresents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.static interfaceConnection information for dataset input files stored in a database.static interfaceRepresents how metadata stored in the AWS Glue Data Catalog is defined in a DataBrew dataset.static interfaceRepresents a dataset paramater that defines type and conditions for a parameter in the Amazon S3 path of the dataset.static interfaceRepresents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.static interfaceRepresents a set of options that define how DataBrew will interpret a Microsoft Excel file when creating a dataset from that file.static interfaceRepresents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.static interfaceRepresents a structure for defining parameter conditions.static interfaceRepresents a single entry in theValuesMapof aFilterExpression.static interfaceRepresents a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.static interfaceRepresents information on how DataBrew can find data, in either the AWS Glue Data Catalog or Amazon S3.static interfaceRepresents the JSON-specific options that define how input is to be interpreted by AWS Glue DataBrew .static interfaceContains additional resource information needed for specific datasets.static interfaceRepresents a set of options that define how DataBrew selects files for a given Amazon S3 path in a dataset.static interfaceRepresents a single entry in the path parameters of a dataset.static interfaceRepresents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnDataset(Construct scope, String id, CfnDatasetProps props) Create a newAWS::DataBrew::Dataset.protectedCfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataset(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe file format of a dataset that is created from an Amazon S3 file or folder.A set of options that define how DataBrew interprets the data in the dataset.getInput()Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .getName()The unique name of the dataset.A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.getTags()Metadata tags that have been applied to the dataset.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe file format of a dataset that is created from an Amazon S3 file or folder.voidsetFormatOptions(IResolvable value) A set of options that define how DataBrew interprets the data in the dataset.voidA set of options that define how DataBrew interprets the data in the dataset.voidsetInput(IResolvable value) Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .voidsetInput(CfnDataset.InputProperty value) Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .voidThe unique name of the dataset.voidsetPathOptions(IResolvable value) A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.voidA set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 Construct scope, @NotNull String id, @NotNull CfnDatasetProps props) Create a newAWS::DataBrew::Dataset.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Metadata tags that have been applied to the dataset. -
getInput
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . -
setInput
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . -
setInput
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . -
getName
The unique name of the dataset. -
setName
The unique name of the dataset. -
getFormat
The file format of a dataset that is created from an Amazon S3 file or folder. -
setFormat
The file format of a dataset that is created from an Amazon S3 file or folder. -
getFormatOptions
A set of options that define how DataBrew interprets the data in the dataset. -
setFormatOptions
A set of options that define how DataBrew interprets the data in the dataset. -
setFormatOptions
A set of options that define how DataBrew interprets the data in the dataset. -
getPathOptions
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. -
setPathOptions
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. -
setPathOptions
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
-