@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.854Z") @Stability(value=Stable) public class CfnSchedule extends CfnResource implements IInspectable
Specifies a new schedule for one or more AWS Glue DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.
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.*;
CfnSchedule cfnSchedule = CfnSchedule.Builder.create(this, "MyCfnSchedule")
.cronExpression("cronExpression")
.name("name")
// the properties below are optional
.jobNames(List.of("jobNames"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnSchedule.Builder
A fluent builder for
CfnSchedule. |
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 |
|---|---|
|
CfnSchedule(software.constructs.Construct scope,
String id,
CfnScheduleProps props)
Create a new `AWS::DataBrew::Schedule`.
|
protected |
CfnSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnSchedule(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
String |
getCronExpression()
The dates and times when the job is to run.
|
List<String> |
getJobNames()
A list of jobs to be run, according to the schedule.
|
String |
getName()
The name of the schedule.
|
TagManager |
getTags()
Metadata tags that have been applied to the schedule.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCronExpression(String value)
The dates and times when the job is to run.
|
void |
setJobNames(List<String> value)
A list of jobs to be run, according to the schedule.
|
void |
setName(String value)
The name of the schedule.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, 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 CfnSchedule(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnSchedule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnSchedule(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnScheduleProps 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 getCronExpression()
For more information, see Working with cron expressions for recipe jobs in the AWS Glue DataBrew Developer Guide .
@Stability(value=Stable)
public void setCronExpression(@NotNull
String value)
For more information, see Working with cron expressions for recipe jobs in the AWS Glue DataBrew Developer Guide .
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public List<String> getJobNames()
Copyright © 2022. All rights reserved.