Skip to content
v2.277.0

ModelInputProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const modelInputProperty: sagemaker.CfnAlgorithm.ModelInputProperty = {
  dataInputConfig: 'dataInputConfig',
};
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_sagemaker as sagemaker

model_input_property = sagemaker.CfnAlgorithm.ModelInputProperty(
    data_input_config="dataInputConfig"
)
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.sagemaker.*;

ModelInputProperty modelInputProperty = ModelInputProperty.builder()
        .dataInputConfig("dataInputConfig")
        .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.Sagemaker;

var modelInputProperty = new ModelInputProperty {
    DataInputConfig = "dataInputConfig"
};
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"

modelInputProperty := &ModelInputProperty{
	DataInputConfig: jsii.String("dataInputConfig"),
}

Properties ​

dataInputConfigstringdata_input_configstrdataInputConfigStringDataInputConfigstringDataInputConfig*string required #