Skip to content
v2.278.0

ErrorInfoProperty Struct ​

An error that occurred during resource creation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pcs as pcs } from 'aws-cdk-lib';
const errorInfoProperty: pcs.CfnQueue.ErrorInfoProperty = {
  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_pcs as pcs

error_info_property = pcs.CfnQueue.ErrorInfoProperty(
    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.pcs.*;

ErrorInfoProperty errorInfoProperty = ErrorInfoProperty.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.PCS;

var errorInfoProperty = new ErrorInfoProperty {
    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"

errorInfoProperty := &ErrorInfoProperty{
	Code: jsii.String("code"),
	Message: jsii.String("message"),
}

Properties ​

codeoptionalstringcodeoptionalstrcodeoptionalStringCodeoptionalstringCodeoptional*string #
The short-form error code.
messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string #
The detailed error information.