ErrorProperty Struct
The component type error.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iottwinmaker as iottwinmaker } from 'aws-cdk-lib';
const errorProperty: iottwinmaker.CfnComponentType.ErrorProperty = {
code: 'code',
message: 'message',
};
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_iottwinmaker as iottwinmaker
error_property = iottwinmaker.CfnComponentType.ErrorProperty(
code="code",
message="message"
)
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.iottwinmaker.*;
ErrorProperty errorProperty = ErrorProperty.builder()
.code("code")
.message("message")
.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.IoTTwinMaker;
var errorProperty = new ErrorProperty {
Code = "code",
Message = "message"
};
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"
errorProperty := &ErrorProperty{
Code: jsii.String("code"),
Message: jsii.String("message"),
}