Class: AWSCDK::Interfaces::AWSCodestarconnections::SyncConfigurationReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSCodestarconnections::SyncConfigurationReference
- Defined in:
- interfaces/aws_codestarconnections/sync_configuration_reference.rb
Overview
A reference to a SyncConfiguration resource.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
readonly
The ResourceName of the SyncConfiguration resource.
-
#sync_type ⇒ String
readonly
The SyncType of the SyncConfiguration resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(resource_name:, sync_type:) ⇒ SyncConfigurationReference
constructor
A new instance of SyncConfigurationReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(resource_name:, sync_type:) ⇒ SyncConfigurationReference
Returns a new instance of SyncConfigurationReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_codestarconnections/sync_configuration_reference.rb', line 9 def initialize(resource_name:, sync_type:) @resource_name = resource_name Jsii::Type.check_type(@resource_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "resourceName") @sync_type = sync_type Jsii::Type.check_type(@sync_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "syncType") end |
Instance Attribute Details
#resource_name ⇒ String (readonly)
The ResourceName of the SyncConfiguration resource.
19 20 21 |
# File 'interfaces/aws_codestarconnections/sync_configuration_reference.rb', line 19 def resource_name @resource_name end |
#sync_type ⇒ String (readonly)
The SyncType of the SyncConfiguration resource.
23 24 25 |
# File 'interfaces/aws_codestarconnections/sync_configuration_reference.rb', line 23 def sync_type @sync_type end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_codestarconnections/sync_configuration_reference.rb', line 25 def self.jsii_properties { :resource_name => "resourceName", :sync_type => "syncType", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_codestarconnections/sync_configuration_reference.rb', line 32 def to_jsii result = {} result.merge!({ "resourceName" => @resource_name, "syncType" => @sync_type, }) result.compact end |