ConditionalTriggerOptions
- class aws_cdk.aws_glue_alpha.ConditionalTriggerOptions(*, actions, description=None, name=None, start_on_creation=None, predicate)
Bases:
StartableTriggerOptions(deprecated) Properties for configuring a Condition (Predicate) based Glue Trigger.
- Parameters:
actions (
Sequence[Action]) – (deprecated) The actions initiated by this trigger.description (
Optional[str]) – (deprecated) A description for the trigger. Default: - no descriptionname (
Optional[str]) – (deprecated) A name for the trigger. Default: - no name is providedstart_on_creation (
Optional[bool]) – (deprecated) Whether to start the trigger on creation or not. Default: - falsepredicate (
Union[Predicate,Dict[str,Any]]) – (deprecated) The predicate for the trigger.
- Stability:
deprecated
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_glue_alpha as glue_alpha # action: glue_alpha.Action # condition: glue_alpha.Condition conditional_trigger_options = glue_alpha.ConditionalTriggerOptions( actions=[action], predicate=glue_alpha.Predicate( conditions=[condition], logical=glue_alpha.PredicateLogical.AND ), # the properties below are optional description="description", name="name", start_on_creation=False )
Attributes
- actions
(deprecated) The actions initiated by this trigger.
- Stability:
deprecated
- description
(deprecated) A description for the trigger.
- Default:
no description
- Stability:
deprecated
- name
(deprecated) A name for the trigger.
- Default:
no name is provided
- Stability:
deprecated
- predicate
(deprecated) The predicate for the trigger.
- Stability:
deprecated
- start_on_creation
(deprecated) Whether to start the trigger on creation or not.
- Default:
false
- Stability:
deprecated