@Stability(value=Stable) public static final class CfnTrigger.Builder extends Object implements software.amazon.jsii.Builder<CfnTrigger>
CfnTrigger.| Modifier and Type | Method and Description |
|---|---|
CfnTrigger.Builder |
actions(IResolvable actions)
The actions initiated by this trigger.
|
CfnTrigger.Builder |
actions(List<? extends Object> actions)
The actions initiated by this trigger.
|
CfnTrigger |
build() |
static CfnTrigger.Builder |
create(software.constructs.Construct scope,
String id) |
CfnTrigger.Builder |
description(String description)
A description of this trigger.
|
CfnTrigger.Builder |
name(String name)
The name of the trigger.
|
CfnTrigger.Builder |
predicate(CfnTrigger.PredicateProperty predicate)
The predicate of this trigger, which defines when it will fire.
|
CfnTrigger.Builder |
predicate(IResolvable predicate)
The predicate of this trigger, which defines when it will fire.
|
CfnTrigger.Builder |
schedule(String schedule)
A `cron` expression used to specify the schedule.
|
CfnTrigger.Builder |
startOnCreation(Boolean startOnCreation)
Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
|
CfnTrigger.Builder |
startOnCreation(IResolvable startOnCreation)
Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created.
|
CfnTrigger.Builder |
tags(Object tags)
The tags to use with this trigger.
|
CfnTrigger.Builder |
type(String type)
The type of trigger that this is.
|
CfnTrigger.Builder |
workflowName(String workflowName)
The name of the workflow associated with the trigger.
|
@Stability(value=Stable) public static CfnTrigger.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnTrigger.ActionProperty.Builder.@Stability(value=Stable) public CfnTrigger.Builder actions(IResolvable actions)
actions - The actions initiated by this trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder actions(List<? extends Object> actions)
actions - The actions initiated by this trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder type(String type)
type - The type of trigger that this is. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder description(String description)
description - A description of this trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder name(String name)
name - The name of the trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder predicate(CfnTrigger.PredicateProperty predicate)
predicate - The predicate of this trigger, which defines when it will fire. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder predicate(IResolvable predicate)
predicate - The predicate of this trigger, which defines when it will fire. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder schedule(String schedule)
For more information, see Time-Based Schedules for Jobs and Crawlers in the AWS Glue Developer Guide . For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *) .
schedule - A `cron` expression used to specify the schedule. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder startOnCreation(Boolean startOnCreation)
True is not supported for ON_DEMAND triggers.
startOnCreation - Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder startOnCreation(IResolvable startOnCreation)
True is not supported for ON_DEMAND triggers.
startOnCreation - Set to true to start `SCHEDULED` and `CONDITIONAL` triggers when created. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder tags(Object tags)
tags - The tags to use with this trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger.Builder workflowName(String workflowName)
workflowName - The name of the workflow associated with the trigger. This parameter is required.this@Stability(value=Stable) public CfnTrigger build()
build in interface software.amazon.jsii.Builder<CfnTrigger>Copyright © 2022. All rights reserved.