ModelTrainingPaymentConfigProperty Struct
An object representing the collaboration member's model training payment responsibilities set by the collaboration creator.
| Source | |
|---|---|
| Type last changed |
Example
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 modelTrainingPaymentConfigProperty: cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty = {
isResponsible: false,
};
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
model_training_payment_config_property = cleanrooms.CfnCollaboration.ModelTrainingPaymentConfigProperty(
is_responsible=False
)
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.*;
ModelTrainingPaymentConfigProperty modelTrainingPaymentConfigProperty = ModelTrainingPaymentConfigProperty.builder()
.isResponsible(false)
.build();
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 modelTrainingPaymentConfigProperty = new ModelTrainingPaymentConfigProperty {
IsResponsible = false
};
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"
modelTrainingPaymentConfigProperty := &ModelTrainingPaymentConfigProperty{
IsResponsible: jsii.Boolean(false),
}
Properties
isResponsibleboolean | IResolvableis_responsibletyping.Union[bool, IResolvable]isResponsibleBooleanIsResponsibleboolIsResponsibleinterface{} required #Indicates whether the collaboration creator has configured the collaboration member to pay for model training costs ( `TRUE` ) or has not configured the collaboration member to pay for model training costs ( `FALSE` ).
notes
Exactly one member can be configured to pay for model training 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 model training 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.