Skip to content
v2.278.0

ConstraintsResourceProperty Struct ​

Input object for the endpoint.

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 constraintsResourceProperty: sagemaker.CfnModelExplainabilityJobDefinition.ConstraintsResourceProperty = {
  s3Uri: 's3Uri',
};
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

constraints_resource_property = sagemaker.CfnModelExplainabilityJobDefinition.ConstraintsResourceProperty(
    s3_uri="s3Uri"
)
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.*;

ConstraintsResourceProperty constraintsResourceProperty = ConstraintsResourceProperty.builder()
        .s3Uri("s3Uri")
        .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 constraintsResourceProperty = new ConstraintsResourceProperty {
    S3Uri = "s3Uri"
};
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"

constraintsResourceProperty := &ConstraintsResourceProperty{
	S3Uri: jsii.String("s3Uri"),
}

Properties ​

s3Urioptionalstrings3_urioptionalstrs3UrioptionalStringS3UrioptionalstringS3Urioptional*string #
The Amazon S3 URI for the constraints resource.