Class: AWSCDK::CleanRooms::CfnCollaboration::ModelTrainingPaymentConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnCollaboration::ModelTrainingPaymentConfigProperty
- Defined in:
- clean_rooms/cfn_collaboration.rb
Overview
An object representing the collaboration member's model training 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 training costs (
TRUE) or has not configured the collaboration member to pay for model training costs (FALSE).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_responsible:) ⇒ ModelTrainingPaymentConfigProperty
constructor
A new instance of ModelTrainingPaymentConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_responsible:) ⇒ ModelTrainingPaymentConfigProperty
Returns a new instance of ModelTrainingPaymentConfigProperty.
1014 1015 1016 1017 |
# File 'clean_rooms/cfn_collaboration.rb', line 1014 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 training costs ( TRUE ) or has not configured the collaboration member to pay for model training costs ( FALSE ).
Exactly one member can be configured to pay for model training 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 training 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.
1027 1028 1029 |
# File 'clean_rooms/cfn_collaboration.rb', line 1027 def is_responsible @is_responsible end |
Class Method Details
.jsii_properties ⇒ Object
1029 1030 1031 1032 1033 |
# File 'clean_rooms/cfn_collaboration.rb', line 1029 def self.jsii_properties { :is_responsible => "isResponsible", } end |
Instance Method Details
#to_jsii ⇒ Object
1035 1036 1037 1038 1039 1040 1041 |
# File 'clean_rooms/cfn_collaboration.rb', line 1035 def to_jsii result = {} result.merge!({ "isResponsible" => @is_responsible, }) result.compact end |