@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:20.953Z") @Stability(value=Stable) public class CfnJob 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.*;
Object parameters;
CfnJob cfnJob = CfnJob.Builder.create(this, "MyCfnJob")
.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();
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnJob(software.constructs.Construct scope,
String id,
CfnJobProps props)
Create a new `AWS::DataBrew::Job`.
|
protected |
CfnJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnJob(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDatabaseOutputs()
`AWS::DataBrew::Job.DatabaseOutputs`.
|
Object |
getDataCatalogOutputs()
`AWS::DataBrew::Job.DataCatalogOutputs`.
|
String |
getDatasetName()
`AWS::DataBrew::Job.DatasetName`.
|
String |
getEncryptionKeyArn()
`AWS::DataBrew::Job.EncryptionKeyArn`.
|
String |
getEncryptionMode()
`AWS::DataBrew::Job.EncryptionMode`.
|
Object |
getJobSample()
`AWS::DataBrew::Job.JobSample`.
|
String |
getLogSubscription()
`AWS::DataBrew::Job.LogSubscription`.
|
Number |
getMaxCapacity()
`AWS::DataBrew::Job.MaxCapacity`.
|
Number |
getMaxRetries()
`AWS::DataBrew::Job.MaxRetries`.
|
String |
getName()
`AWS::DataBrew::Job.Name`.
|
Object |
getOutputLocation()
`AWS::DataBrew::Job.OutputLocation`.
|
Object |
getOutputs()
`AWS::DataBrew::Job.Outputs`.
|
Object |
getProfileConfiguration()
`AWS::DataBrew::Job.ProfileConfiguration`.
|
String |
getProjectName()
`AWS::DataBrew::Job.ProjectName`.
|
Object |
getRecipe()
`AWS::DataBrew::Job.Recipe`.
|
String |
getRoleArn()
`AWS::DataBrew::Job.RoleArn`.
|
TagManager |
getTags()
`AWS::DataBrew::Job.Tags`.
|
Number |
getTimeout()
`AWS::DataBrew::Job.Timeout`.
|
String |
getType()
`AWS::DataBrew::Job.Type`.
|
Object |
getValidationConfigurations()
`AWS::DataBrew::Job.ValidationConfigurations`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDatabaseOutputs(IResolvable value)
`AWS::DataBrew::Job.DatabaseOutputs`.
|
void |
setDatabaseOutputs(List<Object> value)
`AWS::DataBrew::Job.DatabaseOutputs`.
|
void |
setDataCatalogOutputs(IResolvable value)
`AWS::DataBrew::Job.DataCatalogOutputs`.
|
void |
setDataCatalogOutputs(List<Object> value)
`AWS::DataBrew::Job.DataCatalogOutputs`.
|
void |
setDatasetName(String value)
`AWS::DataBrew::Job.DatasetName`.
|
void |
setEncryptionKeyArn(String value)
`AWS::DataBrew::Job.EncryptionKeyArn`.
|
void |
setEncryptionMode(String value)
`AWS::DataBrew::Job.EncryptionMode`.
|
void |
setJobSample(CfnJob.JobSampleProperty value)
`AWS::DataBrew::Job.JobSample`.
|
void |
setJobSample(IResolvable value)
`AWS::DataBrew::Job.JobSample`.
|
void |
setLogSubscription(String value)
`AWS::DataBrew::Job.LogSubscription`.
|
void |
setMaxCapacity(Number value)
`AWS::DataBrew::Job.MaxCapacity`.
|
void |
setMaxRetries(Number value)
`AWS::DataBrew::Job.MaxRetries`.
|
void |
setName(String value)
`AWS::DataBrew::Job.Name`.
|
void |
setOutputLocation(CfnJob.OutputLocationProperty value)
`AWS::DataBrew::Job.OutputLocation`.
|
void |
setOutputLocation(IResolvable value)
`AWS::DataBrew::Job.OutputLocation`.
|
void |
setOutputs(IResolvable value)
`AWS::DataBrew::Job.Outputs`.
|
void |
setOutputs(List<Object> value)
`AWS::DataBrew::Job.Outputs`.
|
void |
setProfileConfiguration(CfnJob.ProfileConfigurationProperty value)
`AWS::DataBrew::Job.ProfileConfiguration`.
|
void |
setProfileConfiguration(IResolvable value)
`AWS::DataBrew::Job.ProfileConfiguration`.
|
void |
setProjectName(String value)
`AWS::DataBrew::Job.ProjectName`.
|
void |
setRecipe(CfnJob.RecipeProperty value)
`AWS::DataBrew::Job.Recipe`.
|
void |
setRecipe(IResolvable value)
`AWS::DataBrew::Job.Recipe`.
|
void |
setRoleArn(String value)
`AWS::DataBrew::Job.RoleArn`.
|
void |
setTimeout(Number value)
`AWS::DataBrew::Job.Timeout`.
|
void |
setType(String value)
`AWS::DataBrew::Job.Type`.
|
void |
setValidationConfigurations(IResolvable value)
`AWS::DataBrew::Job.ValidationConfigurations`.
|
void |
setValidationConfigurations(List<Object> value)
`AWS::DataBrew::Job.ValidationConfigurations`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnJob(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnJob(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnJobProps 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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getRoleArn()
@Stability(value=Stable)
public void setRoleArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getType()
@Stability(value=Stable)
public void setType(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDatabaseOutputs()
@Stability(value=Stable)
public void setDatabaseOutputs(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDatabaseOutputs(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getDataCatalogOutputs()
@Stability(value=Stable)
public void setDataCatalogOutputs(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setDataCatalogOutputs(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getDatasetName()
@Stability(value=Stable)
public void setDatasetName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEncryptionKeyArn()
@Stability(value=Stable)
public void setEncryptionKeyArn(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getEncryptionMode()
@Stability(value=Stable)
public void setEncryptionMode(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getJobSample()
@Stability(value=Stable)
public void setJobSample(@Nullable
CfnJob.JobSampleProperty value)
@Stability(value=Stable)
public void setJobSample(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getLogSubscription()
@Stability(value=Stable)
public void setLogSubscription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getMaxCapacity()
@Stability(value=Stable)
public void setMaxCapacity(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Number getMaxRetries()
@Stability(value=Stable)
public void setMaxRetries(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getOutputLocation()
@Stability(value=Stable)
public void setOutputLocation(@Nullable
CfnJob.OutputLocationProperty value)
@Stability(value=Stable)
public void setOutputLocation(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getOutputs()
@Stability(value=Stable)
public void setOutputs(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setOutputs(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getProfileConfiguration()
@Stability(value=Stable)
public void setProfileConfiguration(@Nullable
CfnJob.ProfileConfigurationProperty value)
@Stability(value=Stable)
public void setProfileConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getProjectName()
@Stability(value=Stable)
public void setProjectName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getRecipe()
@Stability(value=Stable)
public void setRecipe(@Nullable
CfnJob.RecipeProperty value)
@Stability(value=Stable)
public void setRecipe(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Number getTimeout()
@Stability(value=Stable)
public void setTimeout(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getValidationConfigurations()
@Stability(value=Stable)
public void setValidationConfigurations(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.