# MembershipQueryComputePaymentConfigProperty

An object representing the payment responsibilities accepted by the collaboration member for query compute costs.

- Source: Generated at build time
- Type last changed: v2.112.0 · 1 Dec 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const membershipQueryComputePaymentConfigProperty: cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty = {
  isResponsible: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanrooms as cleanrooms

membership_query_compute_payment_config_property = cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty(
    is_responsible=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanrooms.*;

MembershipQueryComputePaymentConfigProperty membershipQueryComputePaymentConfigProperty = MembershipQueryComputePaymentConfigProperty.builder()
        .isResponsible(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CleanRooms;

var membershipQueryComputePaymentConfigProperty = new MembershipQueryComputePaymentConfigProperty {
    IsResponsible = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

membershipQueryComputePaymentConfigProperty := &MembershipQueryComputePaymentConfigProperty{
	IsResponsible: jsii.Boolean(false),
}
```

## Properties

- `isResponsible`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — 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 `FALSE` but you are responsible to pay for query compute costs.
  - If you set the value to `TRUE` but you are not responsible to pay for query compute costs.
