Class: AWSCDK::CleanRooms::CfnMembership::MembershipPaymentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnMembership::MembershipPaymentConfigurationProperty
- Defined in:
- clean_rooms/cfn_membership.rb
Overview
An object representing the payment responsibilities accepted by the collaboration member.
Instance Attribute Summary collapse
-
#job_compute ⇒ AWSCDK::IResolvable, ...
readonly
The payment responsibilities accepted by the collaboration member for job compute costs.
-
#machine_learning ⇒ AWSCDK::IResolvable, ...
readonly
The payment responsibilities accepted by the collaboration member for machine learning costs.
-
#query_compute ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnMembership::MembershipQueryComputePaymentConfigProperty
readonly
The payment responsibilities accepted by the collaboration member for query compute costs.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(query_compute:, job_compute: nil, machine_learning: nil) ⇒ MembershipPaymentConfigurationProperty
constructor
A new instance of MembershipPaymentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(query_compute:, job_compute: nil, machine_learning: nil) ⇒ MembershipPaymentConfigurationProperty
Returns a new instance of MembershipPaymentConfigurationProperty.
816 817 818 819 820 821 822 823 |
# File 'clean_rooms/cfn_membership.rb', line 816 def initialize(query_compute:, job_compute: nil, machine_learning: nil) @query_compute = query_compute.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnMembership::MembershipQueryComputePaymentConfigProperty.new(**query_compute.transform_keys(&:to_sym)) : query_compute Jsii::Type.check_type(@query_compute, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbk1lbWJlcnNoaXAuTWVtYmVyc2hpcFF1ZXJ5Q29tcHV0ZVBheW1lbnRDb25maWdQcm9wZXJ0eSJ9XX19")), "queryCompute") @job_compute = job_compute.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnMembership::MembershipJobComputePaymentConfigProperty.new(**job_compute.transform_keys(&:to_sym)) : job_compute Jsii::Type.check_type(@job_compute, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbk1lbWJlcnNoaXAuTWVtYmVyc2hpcEpvYkNvbXB1dGVQYXltZW50Q29uZmlnUHJvcGVydHkifV19fQ==")), "jobCompute") unless @job_compute.nil? @machine_learning = machine_learning.is_a?(Hash) ? ::AWSCDK::CleanRooms::CfnMembership::MembershipMLPaymentConfigProperty.new(**machine_learning.transform_keys(&:to_sym)) : machine_learning Jsii::Type.check_type(@machine_learning, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jbGVhbnJvb21zLkNmbk1lbWJlcnNoaXAuTWVtYmVyc2hpcE1MUGF5bWVudENvbmZpZ1Byb3BlcnR5In1dfX0=")), "machineLearning") unless @machine_learning.nil? end |
Instance Attribute Details
#job_compute ⇒ AWSCDK::IResolvable, ... (readonly)
The payment responsibilities accepted by the collaboration member for job compute costs.
834 835 836 |
# File 'clean_rooms/cfn_membership.rb', line 834 def job_compute @job_compute end |
#machine_learning ⇒ AWSCDK::IResolvable, ... (readonly)
The payment responsibilities accepted by the collaboration member for machine learning costs.
839 840 841 |
# File 'clean_rooms/cfn_membership.rb', line 839 def machine_learning @machine_learning end |
#query_compute ⇒ AWSCDK::IResolvable, AWSCDK::CleanRooms::CfnMembership::MembershipQueryComputePaymentConfigProperty (readonly)
The payment responsibilities accepted by the collaboration member for query compute costs.
829 830 831 |
# File 'clean_rooms/cfn_membership.rb', line 829 def query_compute @query_compute end |
Class Method Details
.jsii_properties ⇒ Object
841 842 843 844 845 846 847 |
# File 'clean_rooms/cfn_membership.rb', line 841 def self.jsii_properties { :query_compute => "queryCompute", :job_compute => "jobCompute", :machine_learning => "machineLearning", } end |
Instance Method Details
#to_jsii ⇒ Object
849 850 851 852 853 854 855 856 857 |
# File 'clean_rooms/cfn_membership.rb', line 849 def to_jsii result = {} result.merge!({ "queryCompute" => @query_compute, "jobCompute" => @job_compute, "machineLearning" => @machine_learning, }) result.compact end |