Class: AWSCDK::CleanRooms::CfnMembership::MembershipQueryComputePaymentConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnMembership::MembershipQueryComputePaymentConfigProperty
- Defined in:
- clean_rooms/cfn_membership.rb
Overview
An object representing the payment responsibilities accepted by the collaboration member for query compute costs.
Instance Attribute Summary collapse
-
#is_responsible ⇒ Boolean, AWSCDK::IResolvable
readonly
Indicates whether the collaboration member has accepted to pay for query compute costs (
TRUE) or has not accepted to pay for query compute costs (FALSE).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(is_responsible:) ⇒ MembershipQueryComputePaymentConfigProperty
constructor
A new instance of MembershipQueryComputePaymentConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(is_responsible:) ⇒ MembershipQueryComputePaymentConfigProperty
Returns a new instance of MembershipQueryComputePaymentConfigProperty.
1019 1020 1021 1022 |
# File 'clean_rooms/cfn_membership.rb', line 1019 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 query compute costs ( TRUE ) or has not accepted to pay for query compute costs ( FALSE ).
If the collaboration creator has not specified anyone to pay for query compute 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 query compute costs. - If you set the value to
TRUEbut you are not responsible to pay for query compute costs.
1035 1036 1037 |
# File 'clean_rooms/cfn_membership.rb', line 1035 def is_responsible @is_responsible end |
Class Method Details
.jsii_properties ⇒ Object
1037 1038 1039 1040 1041 |
# File 'clean_rooms/cfn_membership.rb', line 1037 def self.jsii_properties { :is_responsible => "isResponsible", } end |
Instance Method Details
#to_jsii ⇒ Object
1043 1044 1045 1046 1047 1048 1049 |
# File 'clean_rooms/cfn_membership.rb', line 1043 def to_jsii result = {} result.merge!({ "isResponsible" => @is_responsible, }) result.compact end |