@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:27.608Z") public class CfnDataset extends CfnResource implements IInspectable
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();
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnDataset(Construct scope,
java.lang.String id,
CfnDatasetProps props)
Create a new `AWS::DataBrew::Dataset`.
|
protected |
CfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDataset(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getFormat()
`AWS::DataBrew::Dataset.Format`.
|
java.lang.Object |
getFormatOptions()
`AWS::DataBrew::Dataset.FormatOptions`.
|
java.lang.Object |
getInput()
`AWS::DataBrew::Dataset.Input`.
|
java.lang.String |
getName()
`AWS::DataBrew::Dataset.Name`.
|
java.lang.Object |
getPathOptions()
`AWS::DataBrew::Dataset.PathOptions`.
|
TagManager |
getTags()
`AWS::DataBrew::Dataset.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setFormat(java.lang.String value)
`AWS::DataBrew::Dataset.Format`.
|
void |
setFormatOptions(CfnDataset.FormatOptionsProperty value)
`AWS::DataBrew::Dataset.FormatOptions`.
|
void |
setFormatOptions(IResolvable value)
`AWS::DataBrew::Dataset.FormatOptions`.
|
void |
setInput(CfnDataset.InputProperty value)
`AWS::DataBrew::Dataset.Input`.
|
void |
setInput(IResolvable value)
`AWS::DataBrew::Dataset.Input`.
|
void |
setName(java.lang.String value)
`AWS::DataBrew::Dataset.Name`.
|
void |
setPathOptions(CfnDataset.PathOptionsProperty value)
`AWS::DataBrew::Dataset.PathOptions`.
|
void |
setPathOptions(IResolvable value)
`AWS::DataBrew::Dataset.PathOptions`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnDataset(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnDataset(Construct scope, java.lang.String id, CfnDatasetProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getInput()
public void setInput(CfnDataset.InputProperty value)
public void setInput(IResolvable value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getFormat()
public void setFormat(java.lang.String value)
public java.lang.Object getFormatOptions()
public void setFormatOptions(IResolvable value)
public void setFormatOptions(CfnDataset.FormatOptionsProperty value)
public java.lang.Object getPathOptions()
public void setPathOptions(IResolvable value)
public void setPathOptions(CfnDataset.PathOptionsProperty value)