Class: AWSCDK::CleanRooms::CfnMembership::MembershipModelInferencePaymentConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnMembership::MembershipModelInferencePaymentConfigProperty
- Defined in:
- clean_rooms/cfn_membership.rb
Overview
An object representing the collaboration member's model inference payment responsibilities set by the collaboration creator.
Instance Attribute Summary collapse
-
#is_responsible ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates whether the collaboration member has accepted to pay for model inference costs (
TRUE) or has not accepted to pay for model inference costs (FALSE).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_responsible:) ⇒ MembershipModelInferencePaymentConfigProperty
constructor
A new instance of MembershipModelInferencePaymentConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_responsible:) ⇒ MembershipModelInferencePaymentConfigProperty
Returns a new instance of MembershipModelInferencePaymentConfigProperty.
734 735 736 737 |
# File 'clean_rooms/cfn_membership.rb', line 734 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_responsible ⇒ Boolean, AWSCDK::IResolvable (readonly)
Indicates whether the collaboration member has accepted to pay for model inference costs ( TRUE ) or has not accepted to pay for model inference costs ( FALSE ).
If the collaboration creator has not specified anyone to pay for model inference 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
FALSEbut you are responsible to pay for model inference costs. - If you set the value to
TRUEbut you are not responsible to pay for model inference costs.
750 751 752 |
# File 'clean_rooms/cfn_membership.rb', line 750 def is_responsible @is_responsible end |
Class Method Details
.jsii_properties ⇒ Object
752 753 754 755 756 |
# File 'clean_rooms/cfn_membership.rb', line 752 def self.jsii_properties { :is_responsible => "isResponsible", } end |
Instance Method Details
#to_jsii ⇒ Object
758 759 760 761 762 763 764 |
# File 'clean_rooms/cfn_membership.rb', line 758 def to_jsii result = {} result.merge!({ "isResponsible" => @is_responsible, }) result.compact end |