Class: AWSCDK::CleanRooms::CfnCollaboration::PaymentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnCollaboration::PaymentConfigurationProperty
- Defined in:
- clean_rooms/cfn_collaboration.rb
Overview
An object representing the collaboration member's payment responsibilities set by the collaboration creator.
Instance Attribute Summary collapse
-
#job_compute ⇒ AWSCDK::IResolvable, ...
readonly
The compute configuration for the job.
-
#machine_learning ⇒ AWSCDK::IResolvable, ...
readonly
An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
-
#query_compute ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnCollaboration::QueryComputePaymentConfigProperty
readonly
The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(query_compute:, job_compute: nil, machine_learning: nil) ⇒ PaymentConfigurationProperty
constructor
A new instance of PaymentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(query_compute:, job_compute: nil, machine_learning: nil) ⇒ PaymentConfigurationProperty
Returns a new instance of PaymentConfigurationProperty.
1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'clean_rooms/cfn_collaboration.rb', line 1053 def initialize(query_compute:, job_compute: nil, machine_learning: nil) @query_compute = query_compute.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnCollaboration::QueryComputePaymentConfigProperty.new(**query_compute.transform_keys(&:to_sym)) : query_compute Jsii::Type.check_type(@query_compute, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbGxhYm9yYXRpb24uUXVlcnlDb21wdXRlUGF5bWVudENvbmZpZ1Byb3BlcnR5In1dfX0=")), "queryCompute") @job_compute = job_compute.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnCollaboration::JobComputePaymentConfigProperty.new(**job_compute.transform_keys(&:to_sym)) : job_compute Jsii::Type.check_type(@job_compute, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbGxhYm9yYXRpb24uSm9iQ29tcHV0ZVBheW1lbnRDb25maWdQcm9wZXJ0eSJ9XX19")), "jobCompute") unless @job_compute.nil? @machine_learning = machine_learning.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnCollaboration::MLPaymentConfigProperty.new(**machine_learning.transform_keys(&:to_sym)) : machine_learning Jsii::Type.check_type(@machine_learning, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbkNvbGxhYm9yYXRpb24uTUxQYXltZW50Q29uZmlnUHJvcGVydHkifV19fQ==")), "machineLearning") unless @machine_learning.nil? end |
Instance Attribute Details
#job_compute ⇒ AWSCDK::IResolvable, ... (readonly)
The compute configuration for the job.
1071 1072 1073 |
# File 'clean_rooms/cfn_collaboration.rb', line 1071 def job_compute @job_compute end |
#machine_learning ⇒ AWSCDK::IResolvable, ... (readonly)
An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.
1076 1077 1078 |
# File 'clean_rooms/cfn_collaboration.rb', line 1076 def machine_learning @machine_learning end |
#query_compute ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnCollaboration::QueryComputePaymentConfigProperty (readonly)
The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
1066 1067 1068 |
# File 'clean_rooms/cfn_collaboration.rb', line 1066 def query_compute @query_compute end |
Class Method Details
.jsii_properties ⇒ Object
1078 1079 1080 1081 1082 1083 1084 |
# File 'clean_rooms/cfn_collaboration.rb', line 1078 def self.jsii_properties { :query_compute => "queryCompute", :job_compute => "jobCompute", :machine_learning => "machineLearning", } end |
Instance Method Details
#to_jsii ⇒ Object
1086 1087 1088 1089 1090 1091 1092 1093 1094 |
# File 'clean_rooms/cfn_collaboration.rb', line 1086 def to_jsii result = {} result.merge!({ "queryCompute" => @query_compute, "jobCompute" => @job_compute, "machineLearning" => @machine_learning, }) result.compact end |