# PaymentConfigurationProperty

An object representing the collaboration member's payment responsibilities set by the collaboration creator.

- Source: Generated at build time
- Type last changed: v2.190.0 · 17 Apr 2025

## 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 paymentConfigurationProperty: cleanrooms.CfnCollaboration.PaymentConfigurationProperty = {
  queryCompute: {
    isResponsible: false,
  },

  // the properties below are optional
  jobCompute: {
    isResponsible: false,
  },
  machineLearning: {
    modelInference: {
      isResponsible: false,
    },
    modelTraining: {
      isResponsible: false,
    },
    syntheticDataGeneration: {
      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

payment_configuration_property = cleanrooms.CfnCollaboration.PaymentConfigurationProperty(
    query_compute=cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty(
        is_responsible=False
    ),

    # the properties below are optional
    job_compute=cleanrooms.CfnCollaboration.JobComputePaymentConfigProperty(
        is_responsible=False
    ),
    machine_learning=cleanrooms.CfnCollaboration.MLPaymentConfigProperty(
        model_inference=cleanrooms.CfnCollaboration.ModelInferencePaymentConfigProperty(
            is_responsible=False
        ),
        model_training=cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
            is_responsible=False
        ),
        synthetic_data_generation=cleanrooms.CfnCollaboration.SyntheticDataGenerationPaymentConfigProperty(
            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.*;

PaymentConfigurationProperty paymentConfigurationProperty = PaymentConfigurationProperty.builder()
        .queryCompute(QueryComputePaymentConfigProperty.builder()
                .isResponsible(false)
                .build())

        // the properties below are optional
        .jobCompute(JobComputePaymentConfigProperty.builder()
                .isResponsible(false)
                .build())
        .machineLearning(MLPaymentConfigProperty.builder()
                .modelInference(ModelInferencePaymentConfigProperty.builder()
                        .isResponsible(false)
                        .build())
                .modelTraining(ModelTrainingPaymentConfigProperty.builder()
                        .isResponsible(false)
                        .build())
                .syntheticDataGeneration(SyntheticDataGenerationPaymentConfigProperty.builder()
                        .isResponsible(false)
                        .build())
                .build())
        .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 paymentConfigurationProperty = new PaymentConfigurationProperty {
    QueryCompute = new QueryComputePaymentConfigProperty {
        IsResponsible = false
    },

    // the properties below are optional
    JobCompute = new JobComputePaymentConfigProperty {
        IsResponsible = false
    },
    MachineLearning = new MLPaymentConfigProperty {
        ModelInference = new ModelInferencePaymentConfigProperty {
            IsResponsible = false
        },
        ModelTraining = new ModelTrainingPaymentConfigProperty {
            IsResponsible = false
        },
        SyntheticDataGeneration = new SyntheticDataGenerationPaymentConfigProperty {
            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"

paymentConfigurationProperty := &PaymentConfigurationProperty{
	QueryCompute: &QueryComputePaymentConfigProperty{
		IsResponsible: jsii.Boolean(false),
	},

	// the properties below are optional
	JobCompute: &JobComputePaymentConfigProperty{
		IsResponsible: jsii.Boolean(false),
	},
	MachineLearning: &MLPaymentConfigProperty{
		ModelInference: &ModelInferencePaymentConfigProperty{
			IsResponsible: jsii.Boolean(false),
		},
		ModelTraining: &ModelTrainingPaymentConfigProperty{
			IsResponsible: jsii.Boolean(false),
		},
		SyntheticDataGeneration: &SyntheticDataGenerationPaymentConfigProperty{
			IsResponsible: jsii.Boolean(false),
		},
	},
}
```

## Properties

- `jobCompute`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCollaboration.JobComputePaymentConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnCollaboration.JobComputePaymentConfigProperty.html) — The compute configuration for the job.

- `machineLearning`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCollaboration.MLPaymentConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnCollaboration.MLPaymentConfigProperty.html) — An object representing the collaboration member's machine learning payment responsibilities set by the collaboration creator.

- `queryCompute`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCollaboration.QueryComputePaymentConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnCollaboration.QueryComputePaymentConfigProperty.html) (required) — The collaboration member's payment responsibilities set by the collaboration creator for query compute costs.
