Class: AWSCDK::NovaAct::CfnWorkflowDefinition::WorkflowExportConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NovaAct::CfnWorkflowDefinition::WorkflowExportConfigProperty
- Defined in:
- nova_act/cfn_workflow_definition.rb
Overview
Configuration settings for exporting workflow execution data and logs to Amazon S3.
Instance Attribute Summary collapse
-
#s3_bucket_name ⇒ String
readonly
The name of the Amazon S3 bucket for exporting workflow data.
-
#s3_key_prefix ⇒ String?
readonly
An optional prefix for Amazon S3 object keys to organize exported data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_bucket_name:, s3_key_prefix: nil) ⇒ WorkflowExportConfigProperty
constructor
A new instance of WorkflowExportConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_bucket_name:, s3_key_prefix: nil) ⇒ WorkflowExportConfigProperty
Returns a new instance of WorkflowExportConfigProperty.
551 552 553 554 555 556 |
# File 'nova_act/cfn_workflow_definition.rb', line 551 def initialize(s3_bucket_name:, s3_key_prefix: nil) @s3_bucket_name = s3_bucket_name Jsii::Type.check_type(@s3_bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3BucketName") @s3_key_prefix = s3_key_prefix Jsii::Type.check_type(@s3_key_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "s3KeyPrefix") unless @s3_key_prefix.nil? end |
Instance Attribute Details
#s3_bucket_name ⇒ String (readonly)
The name of the Amazon S3 bucket for exporting workflow data.
562 563 564 |
# File 'nova_act/cfn_workflow_definition.rb', line 562 def s3_bucket_name @s3_bucket_name end |
#s3_key_prefix ⇒ String? (readonly)
An optional prefix for Amazon S3 object keys to organize exported data.
567 568 569 |
# File 'nova_act/cfn_workflow_definition.rb', line 567 def s3_key_prefix @s3_key_prefix end |
Class Method Details
.jsii_properties ⇒ Object
569 570 571 572 573 574 |
# File 'nova_act/cfn_workflow_definition.rb', line 569 def self.jsii_properties { :s3_bucket_name => "s3BucketName", :s3_key_prefix => "s3KeyPrefix", } end |
Instance Method Details
#to_jsii ⇒ Object
576 577 578 579 580 581 582 583 |
# File 'nova_act/cfn_workflow_definition.rb', line 576 def to_jsii result = {} result.merge!({ "s3BucketName" => @s3_bucket_name, "s3KeyPrefix" => @s3_key_prefix, }) result.compact end |