Class: AWSCDK::CleanRooms::CfnMembership::MembershipModelTrainingPaymentConfigProperty

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

Overview

An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(is_responsible:) ⇒ MembershipModelTrainingPaymentConfigProperty

Returns a new instance of MembershipModelTrainingPaymentConfigProperty.

Parameters:

  • is_responsible (Boolean, AWSCDK::IResolvable)

    Indicates whether the collaboration member has accepted to pay for model training costs ( TRUE ) or has not accepted to pay for model training costs ( FALSE ).



774
775
776
777
# File 'clean_rooms/cfn_membership.rb', line 774

def initialize(is_responsible:)
  @is_responsible = is_responsible
  Jsii::Type.check_type(@is_responsible, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isResponsible")
end

Instance Attribute Details

#is_responsibleBoolean, AWSCDK::IResolvable (readonly)

Indicates whether the collaboration member has accepted to pay for model training costs ( TRUE ) or has not accepted to pay for model training costs ( FALSE ).

If the collaboration creator has not specified anyone to pay for model training costs, then the member who can query is the default payer.

An error message is returned for the following reasons:

  • If you set the value to FALSE but you are responsible to pay for model training costs.
  • If you set the value to TRUE but you are not responsible to pay for model training costs.


790
791
792
# File 'clean_rooms/cfn_membership.rb', line 790

def is_responsible
  @is_responsible
end

Class Method Details

.jsii_propertiesObject



792
793
794
795
796
# File 'clean_rooms/cfn_membership.rb', line 792

def self.jsii_properties
  {
    :is_responsible => "isResponsible",
  }
end

Instance Method Details

#to_jsiiObject



798
799
800
801
802
803
804
# File 'clean_rooms/cfn_membership.rb', line 798

def to_jsii
  result = {}
  result.merge!({
    "isResponsible" => @is_responsible,
  })
  result.compact
end