Class: AWSCDK::Interfaces::AWSIottwinmaker::SyncJobReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSIottwinmaker::SyncJobReference
- Defined in:
- interfaces/aws_iottwinmaker/sync_job_reference.rb
Overview
A reference to a SyncJob resource.
Instance Attribute Summary collapse
-
#sync_job_arn ⇒ String
readonly
The ARN of the SyncJob resource.
-
#sync_source ⇒ String
readonly
The SyncSource of the SyncJob resource.
-
#workspace_id ⇒ String
readonly
The WorkspaceId of the SyncJob resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(sync_job_arn:, sync_source:, workspace_id:) ⇒ SyncJobReference
constructor
A new instance of SyncJobReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(sync_job_arn:, sync_source:, workspace_id:) ⇒ SyncJobReference
Returns a new instance of SyncJobReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 10 def initialize(sync_job_arn:, sync_source:, workspace_id:) @sync_job_arn = sync_job_arn Jsii::Type.check_type(@sync_job_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "syncJobArn") @sync_source = sync_source Jsii::Type.check_type(@sync_source, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "syncSource") @workspace_id = workspace_id Jsii::Type.check_type(@workspace_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "workspaceId") end |
Instance Attribute Details
#sync_job_arn ⇒ String (readonly)
The ARN of the SyncJob resource.
22 23 24 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 22 def sync_job_arn @sync_job_arn end |
#sync_source ⇒ String (readonly)
The SyncSource of the SyncJob resource.
26 27 28 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 26 def sync_source @sync_source end |
#workspace_id ⇒ String (readonly)
The WorkspaceId of the SyncJob resource.
30 31 32 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 30 def workspace_id @workspace_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 32 def self.jsii_properties { :sync_job_arn => "syncJobArn", :sync_source => "syncSource", :workspace_id => "workspaceId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 40 def to_jsii result = {} result.merge!({ "syncJobArn" => @sync_job_arn, "syncSource" => @sync_source, "workspaceId" => @workspace_id, }) result.compact end |