Class: AWSCDK::NovaAct::CfnWorkflowDefinitionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NovaAct::CfnWorkflowDefinitionProps
- Defined in:
- nova_act/cfn_workflow_definition_props.rb
Overview
Properties for defining a CfnWorkflowDefinition.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
An optional description of the workflow definition's purpose and functionality.
-
#export_config ⇒ AWSCDK::IResolvable, ...
readonly
Configuration settings for exporting workflow execution data and logs to Amazon S3.
-
#name ⇒ String
readonly
The name of the workflow definition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, description: nil, export_config: nil) ⇒ CfnWorkflowDefinitionProps
constructor
A new instance of CfnWorkflowDefinitionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, description: nil, export_config: nil) ⇒ CfnWorkflowDefinitionProps
Returns a new instance of CfnWorkflowDefinitionProps.
12 13 14 15 16 17 18 19 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 12 def initialize(name:, description: nil, export_config: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @export_config = export_config.is_a?(Hash) ? ::AWSCDK::NovaAct::CfnWorkflowDefinition::WorkflowExportConfigProperty.new(**export_config.transform_keys(&:to_sym)) : export_config Jsii::Type.check_type(@export_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ub3ZhYWN0LkNmbldvcmtmbG93RGVmaW5pdGlvbi5Xb3JrZmxvd0V4cG9ydENvbmZpZ1Byb3BlcnR5In1dfX0=")), "exportConfig") unless @export_config.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
An optional description of the workflow definition's purpose and functionality.
32 33 34 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 32 def description @description end |
#export_config ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration settings for exporting workflow execution data and logs to Amazon S3.
37 38 39 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 37 def export_config @export_config end |
#name ⇒ String (readonly)
The name of the workflow definition.
Must be unique within your account and region.
27 28 29 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 27 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
39 40 41 42 43 44 45 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 39 def self.jsii_properties { :name => "name", :description => "description", :export_config => "exportConfig", } end |
Instance Method Details
#to_jsii ⇒ Object
47 48 49 50 51 52 53 54 55 |
# File 'nova_act/cfn_workflow_definition_props.rb', line 47 def to_jsii result = {} result.merge!({ "name" => @name, "description" => @description, "exportConfig" => @export_config, }) result.compact end |