Class: AWSCDK::CleanRooms::CfnMembership::MembershipPaymentConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
clean_rooms/cfn_membership.rb

Overview

An object representing the payment responsibilities accepted by the collaboration member.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query_compute:, job_compute: nil, machine_learning: nil) ⇒ MembershipPaymentConfigurationProperty

Returns a new instance of MembershipPaymentConfigurationProperty.

Parameters:



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_computeAWSCDK::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_learningAWSCDK::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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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