@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.829Z") @Stability(value=Stable) public interface CfnJobProps extends software.amazon.jsii.JsiiSerializable
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.*;
Object parameters;
CfnJobProps cfnJobProps = CfnJobProps.builder()
.name("name")
.roleArn("roleArn")
.type("type")
// the properties below are optional
.databaseOutputs(List.of(DatabaseOutputProperty.builder()
.databaseOptions(DatabaseTableOutputOptionsProperty.builder()
.tableName("tableName")
// the properties below are optional
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.glueConnectionName("glueConnectionName")
// the properties below are optional
.databaseOutputMode("databaseOutputMode")
.build()))
.dataCatalogOutputs(List.of(DataCatalogOutputProperty.builder()
.databaseName("databaseName")
.tableName("tableName")
// the properties below are optional
.catalogId("catalogId")
.databaseOptions(DatabaseTableOutputOptionsProperty.builder()
.tableName("tableName")
// the properties below are optional
.tempDirectory(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.overwrite(false)
.s3Options(S3TableOutputOptionsProperty.builder()
.location(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.build())
.build()))
.datasetName("datasetName")
.encryptionKeyArn("encryptionKeyArn")
.encryptionMode("encryptionMode")
.jobSample(JobSampleProperty.builder()
.mode("mode")
.size(123)
.build())
.logSubscription("logSubscription")
.maxCapacity(123)
.maxRetries(123)
.outputLocation(OutputLocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
.outputs(List.of(OutputProperty.builder()
.location(S3LocationProperty.builder()
.bucket("bucket")
// the properties below are optional
.bucketOwner("bucketOwner")
.key("key")
.build())
// the properties below are optional
.compressionFormat("compressionFormat")
.format("format")
.formatOptions(OutputFormatOptionsProperty.builder()
.csv(CsvOutputOptionsProperty.builder()
.delimiter("delimiter")
.build())
.build())
.maxOutputFiles(123)
.overwrite(false)
.partitionColumns(List.of("partitionColumns"))
.build()))
.profileConfiguration(ProfileConfigurationProperty.builder()
.columnStatisticsConfigurations(List.of(ColumnStatisticsConfigurationProperty.builder()
.statistics(StatisticsConfigurationProperty.builder()
.includedStatistics(List.of("includedStatistics"))
.overrides(List.of(StatisticOverrideProperty.builder()
.parameters(parameters)
.statistic("statistic")
.build()))
.build())
// the properties below are optional
.selectors(List.of(ColumnSelectorProperty.builder()
.name("name")
.regex("regex")
.build()))
.build()))
.datasetStatisticsConfiguration(StatisticsConfigurationProperty.builder()
.includedStatistics(List.of("includedStatistics"))
.overrides(List.of(StatisticOverrideProperty.builder()
.parameters(parameters)
.statistic("statistic")
.build()))
.build())
.entityDetectorConfiguration(EntityDetectorConfigurationProperty.builder()
.entityTypes(List.of("entityTypes"))
// the properties below are optional
.allowedStatistics(AllowedStatisticsProperty.builder()
.statistics(List.of("statistics"))
.build())
.build())
.profileColumns(List.of(ColumnSelectorProperty.builder()
.name("name")
.regex("regex")
.build()))
.build())
.projectName("projectName")
.recipe(RecipeProperty.builder()
.name("name")
// the properties below are optional
.version("version")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeout(123)
.validationConfigurations(List.of(ValidationConfigurationProperty.builder()
.rulesetArn("rulesetArn")
// the properties below are optional
.validationMode("validationMode")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnJobProps.Builder
A builder for
CfnJobProps |
static class |
CfnJobProps.Jsii$Proxy
An implementation for
CfnJobProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnJobProps.Builder |
builder() |
default Object |
getDatabaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
|
default Object |
getDataCatalogOutputs()
One or more artifacts that represent the AWS Glue Data Catalog output from running the job.
|
default String |
getDatasetName()
A dataset that the job is to process.
|
default String |
getEncryptionKeyArn()
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job output.
|
default String |
getEncryptionMode()
The encryption mode for the job, which can be one of the following:.
|
default Object |
getJobSample()
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run.
|
default String |
getLogSubscription()
The current status of Amazon CloudWatch logging for the job.
|
default Number |
getMaxCapacity()
The maximum number of nodes that can be consumed when the job processes data.
|
default Number |
getMaxRetries()
The maximum number of times to retry the job after a job run fails.
|
String |
getName()
The unique name of the job.
|
default Object |
getOutputLocation()
`AWS::DataBrew::Job.OutputLocation`.
|
default Object |
getOutputs()
One or more artifacts that represent output from running the job.
|
default Object |
getProfileConfiguration()
Configuration for profile jobs.
|
default String |
getProjectName()
The name of the project that the job is associated with.
|
default Object |
getRecipe()
A series of data transformation steps that the job runs.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role to be assumed for this job.
|
default List<CfnTag> |
getTags()
Metadata tags that have been applied to the job.
|
default Number |
getTimeout()
The job's timeout in minutes.
|
String |
getType()
The job type of the job, which must be one of the following:.
|
default Object |
getValidationConfigurations()
List of validation configurations that are applied to the profile job.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @NotNull String getType()
PROFILE - A job to analyze a dataset, to determine its size, data types, data distribution, and more.RECIPE - A job to apply one or more transformations to a dataset.@Stability(value=Stable) @Nullable default Object getDatabaseOutputs()
@Stability(value=Stable) @Nullable default Object getDataCatalogOutputs()
@Stability(value=Stable) @Nullable default String getDatasetName()
@Stability(value=Stable) @Nullable default String getEncryptionKeyArn()
For more information, see Encrypting data written by DataBrew jobs
@Stability(value=Stable) @Nullable default String getEncryptionMode()
SSE-KMS - Server-side encryption with keys managed by AWS KMS .SSE-S3 - Server-side encryption with keys managed by Amazon S3.@Stability(value=Stable) @Nullable default Object getJobSample()
If a JobSample value isn't provided, the default value is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
@Stability(value=Stable) @Nullable default String getLogSubscription()
@Stability(value=Stable) @Nullable default Number getMaxCapacity()
@Stability(value=Stable) @Nullable default Number getMaxRetries()
@Stability(value=Stable) @Nullable default Object getOutputLocation()
@Stability(value=Stable) @Nullable default Object getOutputs()
@Stability(value=Stable) @Nullable default Object getProfileConfiguration()
Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported columns.
@Stability(value=Stable) @Nullable default String getProjectName()
@Stability(value=Stable) @Nullable default Object getRecipe()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Number getTimeout()
A job that attempts to run longer than this timeout period ends with a status of TIMEOUT .
@Stability(value=Stable) @Nullable default Object getValidationConfigurations()
@Stability(value=Stable) static CfnJobProps.Builder builder()
CfnJobProps.Builder of CfnJobPropsCopyright © 2022. All rights reserved.