Class: AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
- Inherits:
-
AWSCDK::StepFunctions::TaskStateBase
- Object
- AWSCDK::StepFunctions::TaskStateBase
- AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
- Defined in:
- step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb
Overview
Create a new AWS EventBridge Scheduler schedule.
Class Method Summary collapse
- .jsii_overridable_methods ⇒ Object
-
.json_path(scope, id, props) ⇒ AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
Create an AWS EventBridge Scheduler schedule using JSONPath.
-
.jsonata(scope, id, props) ⇒ AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
Create an AWS EventBridge Scheduler schedule using JSONata.
Instance Method Summary collapse
-
#_next(_next) ⇒ AWSCDK::StepFunctions::Chain
Continue normal execution with the given state.
-
#add_branch(branch) ⇒ void
Add a parallel branch to this state.
-
#add_catch(handler, props = nil) ⇒ AWSCDK::StepFunctions::TaskStateBase
Add a recovery handler for this state.
-
#add_choice(condition, _next, options = nil) ⇒ void
Add a choice branch to this state.
-
#add_item_processor(processor, config = nil) ⇒ void
Add a item processor to this state.
-
#add_iterator(iteration) ⇒ void
Add a map iterator to this state.
-
#add_prefix(x) ⇒ void
Add a prefix to the stateId of this state.
-
#add_retry(props = nil) ⇒ AWSCDK::StepFunctions::TaskStateBase
Add retry configuration for this state.
- #arguments ⇒ Hash?
- #assign ⇒ Hash?
-
#bind_to_graph(graph) ⇒ void
Register this state as part of the given graph.
- #branches ⇒ Array<AWSCDK::StepFunctions::StateGraph>
- #comment ⇒ String?
- #default_choice ⇒ AWSCDK::StepFunctions::State?
- #default_choice=(value) ⇒ Object
-
#end_states ⇒ Array<AWSCDK::StepFunctions::INextable>
Continuable states of this Chainable.
-
#id ⇒ String
Descriptive identifier for this chainable.
-
#initialize(scope, id, props) ⇒ EventBridgeSchedulerCreateScheduleTask
constructor
A new instance of EventBridgeSchedulerCreateScheduleTask.
- #input_path ⇒ String?
- #iteration ⇒ AWSCDK::StepFunctions::StateGraph?
- #iteration=(value) ⇒ Object
-
#make_default(_def) ⇒ void
Make the indicated state the default choice transition of this state.
-
#make_next(_next) ⇒ void
Make the indicated state the default transition of this state.
-
#metric(metric_name, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Return the given named metric for this Task.
-
#metric_failed(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times this activity fails.
-
#metric_heartbeat_timed_out(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times the heartbeat times out for this activity.
-
#metric_run_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The interval, in milliseconds, between the time the Task starts and the time it closes.
-
#metric_schedule_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The interval, in milliseconds, for which the activity stays in the schedule state.
-
#metric_scheduled(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times this activity is scheduled.
-
#metric_started(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times this activity is started.
-
#metric_succeeded(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times this activity succeeds.
-
#metric_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
The interval, in milliseconds, between the time the activity is scheduled and the time it closes.
-
#metric_timed_out(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Metric for the number of times this activity times out.
-
#node ⇒ Constructs::Node
The tree node.
- #output_path ⇒ String?
- #outputs ⇒ Hash?
- #parameters ⇒ Hash?
- #processor ⇒ AWSCDK::StepFunctions::StateGraph?
- #processor=(value) ⇒ Object
- #processor_config ⇒ AWSCDK::StepFunctions::ProcessorConfig?
- #processor_config=(value) ⇒ Object
- #processor_mode ⇒ AWSCDK::StepFunctions::ProcessorMode?
- #processor_mode=(value) ⇒ Object
- #query_language ⇒ AWSCDK::StepFunctions::QueryLanguage?
-
#render_assign(top_level_query_language = nil) ⇒ Object
Render the assign in ASL JSON format.
-
#render_branches ⇒ Object
Render parallel branches in ASL JSON format.
-
#render_choices(top_level_query_language = nil) ⇒ Object
Render the choices in ASL JSON format.
-
#render_input_output ⇒ Object
Render InputPath/Parameters/OutputPath/Arguments/Output in ASL JSON format.
-
#render_item_processor ⇒ Object
Render ItemProcessor in ASL JSON format.
-
#render_iterator ⇒ Object
Render map iterator in ASL JSON format.
-
#render_next_end ⇒ Object
Render the default next state in ASL JSON format.
-
#render_query_language(top_level_query_language = nil) ⇒ Object
Render QueryLanguage in ASL JSON format if needed.
-
#render_result_selector ⇒ Object
Render ResultSelector in ASL JSON format.
-
#render_retry_catch(top_level_query_language = nil) ⇒ Object
Render error recovery options in ASL JSON format.
- #result_path ⇒ String?
- #result_selector ⇒ Hash?
-
#start_state ⇒ AWSCDK::StepFunctions::State
First state of this Chainable.
-
#state_id ⇒ String
Tokenized string that evaluates to the state's ID.
- #state_name ⇒ String?
- #task_metrics ⇒ AWSCDK::StepFunctions::TaskMetricsConfig?
- #task_policies ⇒ Array<AWSCDK::IAM::PolicyStatement>?
-
#to_state_json(top_level_query_language = nil) ⇒ Hash
Return the Amazon States Language object for this state.
-
#to_string ⇒ String
Returns a string representation of this construct.
-
#validate_state ⇒ Array<String>
Allows the state to validate itself.
-
#when_bound_to_graph(graph) ⇒ void
Called whenever this state is bound to a graph.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Constructor Details
#initialize(scope, id, props) ⇒ EventBridgeSchedulerCreateScheduleTask
Returns a new instance of EventBridgeSchedulerCreateScheduleTask.
13 14 15 16 17 18 19 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 13 def initialize(scope, id, props) props = props.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTaskProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FdmVudEJyaWRnZVNjaGVkdWxlckNyZWF0ZVNjaGVkdWxlVGFza1Byb3BzIn0=")), "props") Jsii::Object.instance_method(:initialize).bind(self).call(scope, id, props) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 21 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :branches => { kind: :property, name: "branches", is_optional: false }, :end_states => { kind: :property, name: "endStates", is_optional: false }, :id => { kind: :property, name: "id", is_optional: false }, :start_state => { kind: :property, name: "startState", is_optional: false }, :state_id => { kind: :property, name: "stateId", is_optional: false }, :arguments => { kind: :property, name: "arguments", is_optional: true }, :assign => { kind: :property, name: "assign", is_optional: true }, :comment => { kind: :property, name: "comment", is_optional: true }, :input_path => { kind: :property, name: "inputPath", is_optional: true }, :output_path => { kind: :property, name: "outputPath", is_optional: true }, :outputs => { kind: :property, name: "outputs", is_optional: true }, :parameters => { kind: :property, name: "parameters", is_optional: true }, :query_language => { kind: :property, name: "queryLanguage", is_optional: true }, :result_path => { kind: :property, name: "resultPath", is_optional: true }, :result_selector => { kind: :property, name: "resultSelector", is_optional: true }, :state_name => { kind: :property, name: "stateName", is_optional: true }, :default_choice => { kind: :property, name: "defaultChoice", is_optional: true }, :iteration => { kind: :property, name: "iteration", is_optional: true }, :processor => { kind: :property, name: "processor", is_optional: true }, :processor_config => { kind: :property, name: "processorConfig", is_optional: true }, :processor_mode => { kind: :property, name: "processorMode", is_optional: true }, :task_metrics => { kind: :property, name: "taskMetrics", is_optional: true }, :task_policies => { kind: :property, name: "taskPolicies", is_optional: true }, :to_string => { kind: :method, name: "toString", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, :add_branch => { kind: :method, name: "addBranch", is_optional: false }, :add_choice => { kind: :method, name: "addChoice", is_optional: false }, :add_item_processor => { kind: :method, name: "addItemProcessor", is_optional: false }, :add_iterator => { kind: :method, name: "addIterator", is_optional: false }, :add_prefix => { kind: :method, name: "addPrefix", is_optional: false }, :bind_to_graph => { kind: :method, name: "bindToGraph", is_optional: false }, :make_default => { kind: :method, name: "makeDefault", is_optional: false }, :make_next => { kind: :method, name: "makeNext", is_optional: false }, :render_assign => { kind: :method, name: "renderAssign", is_optional: false }, :render_branches => { kind: :method, name: "renderBranches", is_optional: false }, :render_choices => { kind: :method, name: "renderChoices", is_optional: false }, :render_input_output => { kind: :method, name: "renderInputOutput", is_optional: false }, :render_item_processor => { kind: :method, name: "renderItemProcessor", is_optional: false }, :render_iterator => { kind: :method, name: "renderIterator", is_optional: false }, :render_next_end => { kind: :method, name: "renderNextEnd", is_optional: false }, :render_query_language => { kind: :method, name: "renderQueryLanguage", is_optional: false }, :render_result_selector => { kind: :method, name: "renderResultSelector", is_optional: false }, :render_retry_catch => { kind: :method, name: "renderRetryCatch", is_optional: false }, :to_state_json => { kind: :method, name: "toStateJson", is_optional: false }, :validate_state => { kind: :method, name: "validateState", is_optional: false }, :when_bound_to_graph => { kind: :method, name: "whenBoundToGraph", is_optional: false }, :add_catch => { kind: :method, name: "addCatch", is_optional: false }, :add_retry => { kind: :method, name: "addRetry", is_optional: false }, :metric => { kind: :method, name: "metric", is_optional: false }, :metric_failed => { kind: :method, name: "metricFailed", is_optional: false }, :metric_heartbeat_timed_out => { kind: :method, name: "metricHeartbeatTimedOut", is_optional: false }, :metric_run_time => { kind: :method, name: "metricRunTime", is_optional: false }, :metric_scheduled => { kind: :method, name: "metricScheduled", is_optional: false }, :metric_schedule_time => { kind: :method, name: "metricScheduleTime", is_optional: false }, :metric_started => { kind: :method, name: "metricStarted", is_optional: false }, :metric_succeeded => { kind: :method, name: "metricSucceeded", is_optional: false }, :metric_time => { kind: :method, name: "metricTime", is_optional: false }, :metric_timed_out => { kind: :method, name: "metricTimedOut", is_optional: false }, :_next => { kind: :method, name: "next", is_optional: false }, } end |
.json_path(scope, id, props) ⇒ AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
Create an AWS EventBridge Scheduler schedule using JSONPath.
106 107 108 109 110 111 112 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 106 def self.json_path(scope, id, props) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") props = props.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTaskJsonPathProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FdmVudEJyaWRnZVNjaGVkdWxlckNyZWF0ZVNjaGVkdWxlVGFza0pzb25QYXRoUHJvcHMifQ==")), "props") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions_tasks.EventBridgeSchedulerCreateScheduleTask", "jsonPath", [scope, id, props]) end |
.jsonata(scope, id, props) ⇒ AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTask
Create an AWS EventBridge Scheduler schedule using JSONata.
92 93 94 95 96 97 98 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 92 def self.jsonata(scope, id, props) Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") props = props.is_a?(Hash) ? ::AWSCDK::StepFunctionsTasks::EventBridgeSchedulerCreateScheduleTaskJsonataProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9uc190YXNrcy5FdmVudEJyaWRnZVNjaGVkdWxlckNyZWF0ZVNjaGVkdWxlVGFza0pzb25hdGFQcm9wcyJ9")), "props") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_stepfunctions_tasks.EventBridgeSchedulerCreateScheduleTask", "jsonata", [scope, id, props]) end |
Instance Method Details
#_next(_next) ⇒ AWSCDK::StepFunctions::Chain
Continue normal execution with the given state.
625 626 627 628 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 625 def _next(_next) Jsii::Type.check_type(_next, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5JQ2hhaW5hYmxlIn0=")), "next") jsii_call_method("next", [_next]) end |
#add_branch(branch) ⇒ void
This method returns an undefined value.
Add a parallel branch to this state.
297 298 299 300 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 297 def add_branch(branch) Jsii::Type.check_type(branch, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "branch") jsii_call_method("addBranch", [branch]) end |
#add_catch(handler, props = nil) ⇒ AWSCDK::StepFunctions::TaskStateBase
Add a recovery handler for this state.
When a particular error occurs, execution will continue at the error handler instead of failing the state machine execution.
489 490 491 492 493 494 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 489 def add_catch(handler, props = nil) Jsii::Type.check_type(handler, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5JQ2hhaW5hYmxlIn0=")), "handler") props = props.is_a?(Hash) ? ::AWSCDK::StepFunctions::CatchProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5DYXRjaFByb3BzIn0=")), "props") unless props.nil? jsii_call_method("addCatch", [handler, props]) end |
#add_choice(condition, _next, options = nil) ⇒ void
This method returns an undefined value.
Add a choice branch to this state.
308 309 310 311 312 313 314 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 308 def add_choice(condition, _next, = nil) Jsii::Type.check_type(condition, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Db25kaXRpb24ifQ==")), "condition") Jsii::Type.check_type(_next, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZSJ9")), "next") = .is_a?(Hash) ? ::AWSCDK::StepFunctions::ChoiceTransitionOptions.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5DaG9pY2VUcmFuc2l0aW9uT3B0aW9ucyJ9")), "options") unless .nil? jsii_call_method("addChoice", [condition, _next, ]) end |
#add_item_processor(processor, config = nil) ⇒ void
This method returns an undefined value.
Add a item processor to this state.
321 322 323 324 325 326 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 321 def add_item_processor(processor, config = nil) Jsii::Type.check_type(processor, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "processor") config = config.is_a?(Hash) ? ::AWSCDK::StepFunctions::ProcessorConfig.new(**config.transform_keys(&:to_sym)) : config Jsii::Type.check_type(config, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Qcm9jZXNzb3JDb25maWcifQ==")), "config") unless config.nil? jsii_call_method("addItemProcessor", [processor, config]) end |
#add_iterator(iteration) ⇒ void
This method returns an undefined value.
Add a map iterator to this state.
332 333 334 335 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 332 def add_iterator(iteration) Jsii::Type.check_type(iteration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "iteration") jsii_call_method("addIterator", [iteration]) end |
#add_prefix(x) ⇒ void
This method returns an undefined value.
Add a prefix to the stateId of this state.
341 342 343 344 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 341 def add_prefix(x) Jsii::Type.check_type(x, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "x") jsii_call_method("addPrefix", [x]) end |
#add_retry(props = nil) ⇒ AWSCDK::StepFunctions::TaskStateBase
Add retry configuration for this state.
This controls if and how the execution will be retried if a particular error occurs.
503 504 505 506 507 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 503 def add_retry(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::StepFunctions::RetryProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5SZXRyeVByb3BzIn0=")), "props") unless props.nil? jsii_call_method("addRetry", [props]) end |
#arguments ⇒ Hash?
155 156 157 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 155 def arguments() jsii_get_property("arguments") end |
#assign ⇒ Hash?
160 161 162 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 160 def assign() jsii_get_property("assign") end |
#bind_to_graph(graph) ⇒ void
This method returns an undefined value.
Register this state as part of the given graph.
Don't call this. It will be called automatically when you work with states normally.
353 354 355 356 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 353 def bind_to_graph(graph) Jsii::Type.check_type(graph, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "graph") jsii_call_method("bindToGraph", [graph]) end |
#branches ⇒ Array<AWSCDK::StepFunctions::StateGraph>
122 123 124 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 122 def branches() jsii_get_property("branches") end |
#comment ⇒ String?
165 166 167 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 165 def comment() jsii_get_property("comment") end |
#default_choice ⇒ AWSCDK::StepFunctions::State?
210 211 212 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 210 def default_choice() jsii_get_property("defaultChoice") end |
#default_choice=(value) ⇒ Object
214 215 216 217 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 214 def default_choice=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZSJ9")), "defaultChoice") unless value.nil? jsii_set_property("defaultChoice", value) end |
#end_states ⇒ Array<AWSCDK::StepFunctions::INextable>
Continuable states of this Chainable.
129 130 131 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 129 def end_states() jsii_get_property("endStates") end |
#id ⇒ String
Descriptive identifier for this chainable.
136 137 138 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 136 def id() jsii_get_property("id") end |
#input_path ⇒ String?
170 171 172 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 170 def input_path() jsii_get_property("inputPath") end |
#iteration ⇒ AWSCDK::StepFunctions::StateGraph?
220 221 222 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 220 def iteration() jsii_get_property("iteration") end |
#iteration=(value) ⇒ Object
224 225 226 227 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 224 def iteration=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "iteration") unless value.nil? jsii_set_property("iteration", value) end |
#make_default(_def) ⇒ void
This method returns an undefined value.
Make the indicated state the default choice transition of this state.
362 363 364 365 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 362 def make_default(_def) Jsii::Type.check_type(_def, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZSJ9")), "def") jsii_call_method("makeDefault", [_def]) end |
#make_next(_next) ⇒ void
This method returns an undefined value.
Make the indicated state the default transition of this state.
371 372 373 374 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 371 def make_next(_next) Jsii::Type.check_type(_next, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZSJ9")), "next") jsii_call_method("makeNext", [_next]) end |
#metric(metric_name, props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Return the given named metric for this Task.
515 516 517 518 519 520 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 515 def metric(metric_name, props = nil) Jsii::Type.check_type(metric_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "metricName") props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metric", [metric_name, props]) end |
#metric_failed(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times this activity fails.
527 528 529 530 531 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 527 def metric_failed(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricFailed", [props]) end |
#metric_heartbeat_timed_out(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times the heartbeat times out for this activity.
538 539 540 541 542 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 538 def metric_heartbeat_timed_out(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricHeartbeatTimedOut", [props]) end |
#metric_run_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - average over 5 minutes
The interval, in milliseconds, between the time the Task starts and the time it closes.
549 550 551 552 553 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 549 def metric_run_time(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricRunTime", [props]) end |
#metric_schedule_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - average over 5 minutes
The interval, in milliseconds, for which the activity stays in the schedule state.
571 572 573 574 575 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 571 def metric_schedule_time(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricScheduleTime", [props]) end |
#metric_scheduled(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times this activity is scheduled.
560 561 562 563 564 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 560 def metric_scheduled(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricScheduled", [props]) end |
#metric_started(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times this activity is started.
582 583 584 585 586 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 582 def metric_started(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricStarted", [props]) end |
#metric_succeeded(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times this activity succeeds.
593 594 595 596 597 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 593 def metric_succeeded(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricSucceeded", [props]) end |
#metric_time(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - average over 5 minutes
The interval, in milliseconds, between the time the activity is scheduled and the time it closes.
604 605 606 607 608 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 604 def metric_time(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricTime", [props]) end |
#metric_timed_out(props = nil) ⇒ AWSCDK::CloudWatch::Metric
Default: - sum over 5 minutes
Metric for the number of times this activity times out.
615 616 617 618 619 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 615 def metric_timed_out(props = nil) props = props.is_a?(Hash) ? ::AWSCDK::CloudWatch::MetricOptions.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY2xvdWR3YXRjaC5NZXRyaWNPcHRpb25zIn0=")), "props") unless props.nil? jsii_call_method("metricTimedOut", [props]) end |
#node ⇒ Constructs::Node
The tree node.
117 118 119 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 117 def node() jsii_get_property("node") end |
#output_path ⇒ String?
175 176 177 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 175 def output_path() jsii_get_property("outputPath") end |
#outputs ⇒ Hash?
180 181 182 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 180 def outputs() jsii_get_property("outputs") end |
#parameters ⇒ Hash?
185 186 187 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 185 def parameters() jsii_get_property("parameters") end |
#processor ⇒ AWSCDK::StepFunctions::StateGraph?
230 231 232 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 230 def processor() jsii_get_property("processor") end |
#processor=(value) ⇒ Object
234 235 236 237 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 234 def processor=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "processor") unless value.nil? jsii_set_property("processor", value) end |
#processor_config ⇒ AWSCDK::StepFunctions::ProcessorConfig?
240 241 242 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 240 def processor_config() jsii_get_property("processorConfig") end |
#processor_config=(value) ⇒ Object
244 245 246 247 248 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 244 def processor_config=(value) value = value.is_a?(Hash) ? ::AWSCDK::StepFunctions::ProcessorConfig.new(**value.transform_keys(&:to_sym)) : value Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Qcm9jZXNzb3JDb25maWcifQ==")), "processorConfig") unless value.nil? jsii_set_property("processorConfig", value) end |
#processor_mode ⇒ AWSCDK::StepFunctions::ProcessorMode?
251 252 253 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 251 def processor_mode() jsii_get_property("processorMode") end |
#processor_mode=(value) ⇒ Object
255 256 257 258 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 255 def processor_mode=(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5Qcm9jZXNzb3JNb2RlIn0=")), "processorMode") unless value.nil? jsii_set_property("processorMode", value) end |
#query_language ⇒ AWSCDK::StepFunctions::QueryLanguage?
190 191 192 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 190 def query_language() jsii_get_property("queryLanguage") end |
#render_assign(top_level_query_language = nil) ⇒ Object
Render the assign in ASL JSON format.
380 381 382 383 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 380 def render_assign(top_level_query_language = nil) Jsii::Type.check_type(top_level_query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "topLevelQueryLanguage") unless top_level_query_language.nil? jsii_call_method("renderAssign", [top_level_query_language]) end |
#render_branches ⇒ Object
Render parallel branches in ASL JSON format.
388 389 390 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 388 def render_branches() jsii_call_method("renderBranches", []) end |
#render_choices(top_level_query_language = nil) ⇒ Object
Render the choices in ASL JSON format.
396 397 398 399 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 396 def render_choices(top_level_query_language = nil) Jsii::Type.check_type(top_level_query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "topLevelQueryLanguage") unless top_level_query_language.nil? jsii_call_method("renderChoices", [top_level_query_language]) end |
#render_input_output ⇒ Object
Render InputPath/Parameters/OutputPath/Arguments/Output in ASL JSON format.
404 405 406 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 404 def render_input_output() jsii_call_method("renderInputOutput", []) end |
#render_item_processor ⇒ Object
Render ItemProcessor in ASL JSON format.
411 412 413 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 411 def render_item_processor() jsii_call_method("renderItemProcessor", []) end |
#render_iterator ⇒ Object
Render map iterator in ASL JSON format.
418 419 420 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 418 def render_iterator() jsii_call_method("renderIterator", []) end |
#render_next_end ⇒ Object
Render the default next state in ASL JSON format.
425 426 427 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 425 def render_next_end() jsii_call_method("renderNextEnd", []) end |
#render_query_language(top_level_query_language = nil) ⇒ Object
Render QueryLanguage in ASL JSON format if needed.
433 434 435 436 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 433 def render_query_language(top_level_query_language = nil) Jsii::Type.check_type(top_level_query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "topLevelQueryLanguage") unless top_level_query_language.nil? jsii_call_method("renderQueryLanguage", [top_level_query_language]) end |
#render_result_selector ⇒ Object
Render ResultSelector in ASL JSON format.
441 442 443 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 441 def render_result_selector() jsii_call_method("renderResultSelector", []) end |
#render_retry_catch(top_level_query_language = nil) ⇒ Object
Render error recovery options in ASL JSON format.
449 450 451 452 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 449 def render_retry_catch(top_level_query_language = nil) Jsii::Type.check_type(top_level_query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "topLevelQueryLanguage") unless top_level_query_language.nil? jsii_call_method("renderRetryCatch", [top_level_query_language]) end |
#result_path ⇒ String?
195 196 197 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 195 def result_path() jsii_get_property("resultPath") end |
#result_selector ⇒ Hash?
200 201 202 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 200 def result_selector() jsii_get_property("resultSelector") end |
#start_state ⇒ AWSCDK::StepFunctions::State
First state of this Chainable.
143 144 145 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 143 def start_state() jsii_get_property("startState") end |
#state_id ⇒ String
Tokenized string that evaluates to the state's ID.
150 151 152 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 150 def state_id() jsii_get_property("stateId") end |
#state_name ⇒ String?
205 206 207 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 205 def state_name() jsii_get_property("stateName") end |
#task_metrics ⇒ AWSCDK::StepFunctions::TaskMetricsConfig?
261 262 263 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 261 def task_metrics() jsii_get_property("taskMetrics") end |
#task_policies ⇒ Array<AWSCDK::IAM::PolicyStatement>?
266 267 268 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 266 def task_policies() jsii_get_property("taskPolicies") end |
#to_state_json(top_level_query_language = nil) ⇒ Hash
Return the Amazon States Language object for this state.
458 459 460 461 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 458 def to_state_json(top_level_query_language = nil) Jsii::Type.check_type(top_level_query_language, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5RdWVyeUxhbmd1YWdlIn0=")), "topLevelQueryLanguage") unless top_level_query_language.nil? jsii_call_method("toStateJson", [top_level_query_language]) end |
#to_string ⇒ String
Returns a string representation of this construct.
273 274 275 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 273 def to_string() jsii_call_method("toString", []) end |
#validate_state ⇒ Array<String>
Allows the state to validate itself.
466 467 468 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 466 def validate_state() jsii_call_method("validateState", []) end |
#when_bound_to_graph(graph) ⇒ void
This method returns an undefined value.
Called whenever this state is bound to a graph.
Can be overridden by subclasses.
476 477 478 479 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 476 def when_bound_to_graph(graph) Jsii::Type.check_type(graph, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc3RlcGZ1bmN0aW9ucy5TdGF0ZUdyYXBoIn0=")), "graph") jsii_call_method("whenBoundToGraph", [graph]) end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
286 287 288 289 290 291 |
# File 'step_functions_tasks/event_bridge_scheduler_create_schedule_task.rb', line 286 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |