Class: AWSCDK::CleanRooms::CfnCollaboration::ModelInferencePaymentConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnCollaboration::ModelInferencePaymentConfigProperty
- Defined in:
- clean_rooms/cfn_collaboration.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 creator has configured the collaboration member to pay for model inference costs (
TRUE) or has not configured the collaboration member to pay for model inference costs (FALSE).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_responsible:) ⇒ ModelInferencePaymentConfigProperty
constructor
A new instance of ModelInferencePaymentConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_responsible:) ⇒ ModelInferencePaymentConfigProperty
Returns a new instance of ModelInferencePaymentConfigProperty.
977 978 979 980 |
# File 'clean_rooms/cfn_collaboration.rb', line 977 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 creator has configured the collaboration member to pay for model inference costs ( TRUE ) or has not configured the collaboration member to pay for model inference costs ( FALSE ).
Exactly one member can be configured to pay for model inference costs. An error is returned if the collaboration creator sets a TRUE value for more than one member in the collaboration.
If the collaboration creator hasn't specified anyone as the member paying for model inference costs, then the member who can query is the default payer. An error is returned if the collaboration creator sets a FALSE value for the member who can query.
990 991 992 |
# File 'clean_rooms/cfn_collaboration.rb', line 990 def is_responsible @is_responsible end |
Class Method Details
.jsii_properties ⇒ Object
992 993 994 995 996 |
# File 'clean_rooms/cfn_collaboration.rb', line 992 def self.jsii_properties { :is_responsible => "isResponsible", } end |
Instance Method Details
#to_jsii ⇒ Object
998 999 1000 1001 1002 1003 1004 |
# File 'clean_rooms/cfn_collaboration.rb', line 998 def to_jsii result = {} result.merge!({ "isResponsible" => @is_responsible, }) result.compact end |