Class: AWSCDK::CleanRooms::CfnCollaboration::JobComputePaymentConfigProperty

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 and job compute costs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(is_responsible:) ⇒ JobComputePaymentConfigProperty

Returns a new instance of JobComputePaymentConfigProperty.

Parameters:

  • is_responsible (Boolean, AWSCDK::IResolvable)

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



775
776
777
778
# File 'clean_rooms/cfn_collaboration.rb', line 775

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

Exactly one member can be configured to pay for query and job compute costs. An error is returned if the collaboration creator sets a TRUE value for more than one member in the collaboration.

An error is returned if the collaboration creator sets a FALSE value for the member who can run queries and jobs.



788
789
790
# File 'clean_rooms/cfn_collaboration.rb', line 788

def is_responsible
  @is_responsible
end

Class Method Details

.jsii_propertiesObject



790
791
792
793
794
# File 'clean_rooms/cfn_collaboration.rb', line 790

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

Instance Method Details

#to_jsiiObject



796
797
798
799
800
801
802
# File 'clean_rooms/cfn_collaboration.rb', line 796

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