@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.678Z") @Stability(value=Stable) public class CfnTrigger extends CfnResource implements IInspectable
Example:
// Example automatically generated from non-compiling source. May contain errors.
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
Object arguments;
Object tags;
CfnTrigger cfnTrigger = CfnTrigger.Builder.create(this, "MyCfnTrigger")
.actions(List.of(ActionProperty.builder()
.arguments(arguments)
.crawlerName("crawlerName")
.jobName("jobName")
.notificationProperty(NotificationPropertyProperty.builder()
.notifyDelayAfter(123)
.build())
.securityConfiguration("securityConfiguration")
.timeout(123)
.build()))
.type("type")
// the properties below are optional
.description("description")
.name("name")
.predicate(PredicateProperty.builder()
.conditions(List.of(ConditionProperty.builder()
.crawlerName("crawlerName")
.crawlState("crawlState")
.jobName("jobName")
.logicalOperator("logicalOperator")
.state("state")
.build()))
.logical("logical")
.build())
.schedule("schedule")
.startOnCreation(false)
.tags(tags)
.workflowName("workflowName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnTrigger.ActionProperty
Example:
|
static class |
CfnTrigger.Builder
A fluent builder for
CfnTrigger. |
static interface |
CfnTrigger.ConditionProperty
Example:
|
static interface |
CfnTrigger.NotificationPropertyProperty
Example:
|
static interface |
CfnTrigger.PredicateProperty
Example:
|
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 |
|---|---|
|
CfnTrigger(software.constructs.Construct scope,
String id,
CfnTriggerProps props)
Create a new `AWS::Glue::Trigger`.
|
protected |
CfnTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnTrigger(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActions()
`AWS::Glue::Trigger.Actions`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::Glue::Trigger.Description`.
|
String |
getName()
`AWS::Glue::Trigger.Name`.
|
Object |
getPredicate()
`AWS::Glue::Trigger.Predicate`.
|
String |
getSchedule()
`AWS::Glue::Trigger.Schedule`.
|
Object |
getStartOnCreation()
`AWS::Glue::Trigger.StartOnCreation`.
|
TagManager |
getTags()
`AWS::Glue::Trigger.Tags`.
|
String |
getType()
`AWS::Glue::Trigger.Type`.
|
String |
getWorkflowName()
`AWS::Glue::Trigger.WorkflowName`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setActions(IResolvable value)
`AWS::Glue::Trigger.Actions`.
|
void |
setActions(List<Object> value)
`AWS::Glue::Trigger.Actions`.
|
void |
setDescription(String value)
`AWS::Glue::Trigger.Description`.
|
void |
setName(String value)
`AWS::Glue::Trigger.Name`.
|
void |
setPredicate(CfnTrigger.PredicateProperty value)
`AWS::Glue::Trigger.Predicate`.
|
void |
setPredicate(IResolvable value)
`AWS::Glue::Trigger.Predicate`.
|
void |
setSchedule(String value)
`AWS::Glue::Trigger.Schedule`.
|
void |
setStartOnCreation(Boolean value)
`AWS::Glue::Trigger.StartOnCreation`.
|
void |
setStartOnCreation(IResolvable value)
`AWS::Glue::Trigger.StartOnCreation`.
|
void |
setType(String value)
`AWS::Glue::Trigger.Type`.
|
void |
setWorkflowName(String value)
`AWS::Glue::Trigger.WorkflowName`.
|
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 CfnTrigger(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnTrigger(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnTrigger(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnTriggerProps 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 public Object getActions()
@Stability(value=Stable)
public void setActions(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setActions(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPredicate()
@Stability(value=Stable)
public void setPredicate(@Nullable
CfnTrigger.PredicateProperty value)
@Stability(value=Stable)
public void setPredicate(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getSchedule()
@Stability(value=Stable)
public void setSchedule(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getStartOnCreation()
@Stability(value=Stable)
public void setStartOnCreation(@Nullable
Boolean value)
@Stability(value=Stable)
public void setStartOnCreation(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getType()
@Stability(value=Stable)
public void setType(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getWorkflowName()
@Stability(value=Stable)
public void setWorkflowName(@Nullable
String value)
Copyright © 2021. All rights reserved.