Skip to content
v2.278.0

JsonProperty Struct ​

The Json format.

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 jsonProperty: sagemaker.CfnModelExplainabilityJobDefinition.JsonProperty = {
  line: 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_sagemaker as sagemaker

json_property = sagemaker.CfnModelExplainabilityJobDefinition.JsonProperty(
    line=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.sagemaker.*;

JsonProperty jsonProperty = JsonProperty.builder()
        .line(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.Sagemaker;

var jsonProperty = new JsonProperty {
    Line = 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"

jsonProperty := &JsonProperty{
	Line: jsii.Boolean(false),
}

Properties ​

lineoptionalboolean | IResolvablelineoptionaltyping.Union[bool, IResolvable]lineoptionalBooleanLineoptionalboolLineoptionalinterface{} #
A boolean flag indicating if it is JSON line format.