Class: AWSCDK::CleanRooms::CfnCollaboration::QueryComputePaymentConfigProperty

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

Overview

An object representing the collaboration member's payment responsibilities set by the collaboration creator for query compute costs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(is_responsible:) ⇒ QueryComputePaymentConfigProperty

Returns a new instance of QueryComputePaymentConfigProperty.

Parameters:

  • is_responsible (Boolean, AWSCDK::IResolvable)

    Indicates whether the collaboration creator has configured the collaboration member to pay for query compute costs ( TRUE ) or has not configured the collaboration member to pay for query compute costs ( FALSE ).



1104
1105
1106
1107
# File 'clean_rooms/cfn_collaboration.rb', line 1104

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 creator has configured the collaboration member to pay for query compute costs ( TRUE ) or has not configured the collaboration member to pay for query compute costs ( FALSE ).

Exactly one member can be configured to pay for query compute 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 query compute 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.



1117
1118
1119
# File 'clean_rooms/cfn_collaboration.rb', line 1117

def is_responsible
  @is_responsible
end

Class Method Details

.jsii_propertiesObject



1119
1120
1121
1122
1123
# File 'clean_rooms/cfn_collaboration.rb', line 1119

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

Instance Method Details

#to_jsiiObject



1125
1126
1127
1128
1129
1130
1131
# File 'clean_rooms/cfn_collaboration.rb', line 1125

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