Class: AWSCDK::Transfer::CfnServer::WorkflowDetailProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Transfer::CfnServer::WorkflowDetailProperty
- Defined in:
- transfer/cfn_server.rb
Overview
Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
In addition to a workflow to execute when a file is uploaded completely, WorkflowDetails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
Instance Attribute Summary collapse
-
#execution_role ⇒ String
readonly
Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources.
-
#workflow_id ⇒ String
readonly
A unique identifier for the workflow.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(execution_role:, workflow_id:) ⇒ WorkflowDetailProperty
constructor
A new instance of WorkflowDetailProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(execution_role:, workflow_id:) ⇒ WorkflowDetailProperty
Returns a new instance of WorkflowDetailProperty.
1090 1091 1092 1093 1094 1095 |
# File 'transfer/cfn_server.rb', line 1090 def initialize(execution_role:, workflow_id:) @execution_role = execution_role Jsii::Type.check_type(@execution_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "executionRole") @workflow_id = workflow_id Jsii::Type.check_type(@workflow_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workflowId") end |
Instance Attribute Details
#execution_role ⇒ String (readonly)
Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources.
1101 1102 1103 |
# File 'transfer/cfn_server.rb', line 1101 def execution_role @execution_role end |
#workflow_id ⇒ String (readonly)
A unique identifier for the workflow.
1106 1107 1108 |
# File 'transfer/cfn_server.rb', line 1106 def workflow_id @workflow_id end |
Class Method Details
.jsii_properties ⇒ Object
1108 1109 1110 1111 1112 1113 |
# File 'transfer/cfn_server.rb', line 1108 def self.jsii_properties { :execution_role => "executionRole", :workflow_id => "workflowId", } end |
Instance Method Details
#to_jsii ⇒ Object
1115 1116 1117 1118 1119 1120 1121 1122 |
# File 'transfer/cfn_server.rb', line 1115 def to_jsii result = {} result.merge!({ "executionRole" => @execution_role, "workflowId" => @workflow_id, }) result.compact end |