Class: AWSCDK::Interfaces::AWSIottwinmaker::SyncJobReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_iottwinmaker/sync_job_reference.rb

Overview

A reference to a SyncJob resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sync_job_arn:, sync_source:, workspace_id:) ⇒ SyncJobReference

Returns a new instance of SyncJobReference.

Parameters:

  • sync_job_arn (String)

    The ARN of the SyncJob resource.

  • sync_source (String)

    The SyncSource of the SyncJob resource.

  • workspace_id (String)

    The WorkspaceId of the SyncJob resource.



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_arnString (readonly)

The ARN of the SyncJob resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 22

def sync_job_arn
  @sync_job_arn
end

#sync_sourceString (readonly)

The SyncSource of the SyncJob resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 26

def sync_source
  @sync_source
end

#workspace_idString (readonly)

The WorkspaceId of the SyncJob resource.

Returns:

  • (String)


30
31
32
# File 'interfaces/aws_iottwinmaker/sync_job_reference.rb', line 30

def workspace_id
  @workspace_id
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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