TrainedModelExportsConfigurationPolicyProperty Struct
| 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_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const trainedModelExportsConfigurationPolicyProperty: cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelExportsConfigurationPolicyProperty = {
filesToExport: ['filesToExport'],
maxSize: {
unit: 'unit',
value: 123,
},
};
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_cleanroomsml as cleanroomsml
trained_model_exports_configuration_policy_property = cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelExportsConfigurationPolicyProperty(
files_to_export=["filesToExport"],
max_size=cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelExportsMaxSizeProperty(
unit="unit",
value=123
)
)
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.cleanroomsml.*;
TrainedModelExportsConfigurationPolicyProperty trainedModelExportsConfigurationPolicyProperty = TrainedModelExportsConfigurationPolicyProperty.builder()
.filesToExport(List.of("filesToExport"))
.maxSize(TrainedModelExportsMaxSizeProperty.builder()
.unit("unit")
.value(123)
.build())
.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.CleanRoomsML;
var trainedModelExportsConfigurationPolicyProperty = new TrainedModelExportsConfigurationPolicyProperty {
FilesToExport = new [] { "filesToExport" },
MaxSize = new TrainedModelExportsMaxSizeProperty {
Unit = "unit",
Value = 123
}
};
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"
trainedModelExportsConfigurationPolicyProperty := &TrainedModelExportsConfigurationPolicyProperty{
FilesToExport: []*string{
jsii.String("filesToExport"),
},
MaxSize: &TrainedModelExportsMaxSizeProperty{
Unit: jsii.String("unit"),
Value: jsii.Number(123),
},
}
Properties
filesToExportstring[]files_to_exporttyping.List[str]filesToExportList<String>FilesToExportstring[]FilesToExport*[]*string required #maxSizeIResolvable | CfnConfiguredModelAlgorithmAssociation.max_sizetyping.Union[IResolvable, TrainedModelExportsMaxSizeProperty]maxSizeIResolvableMaxSizeIResolvableMaxSizeinterface{} required #