Skip to content
v2.278.0

AnalysisErrorProperty Struct ​

Analysis error.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const analysisErrorProperty: quicksight.CfnAnalysis.AnalysisErrorProperty = {
  message: 'message',
  type: 'type',
  violatedEntities: [{
    path: 'path',
  }],
};
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_quicksight as quicksight

analysis_error_property = quicksight.CfnAnalysis.AnalysisErrorProperty(
    message="message",
    type="type",
    violated_entities=[quicksight.CfnAnalysis.EntityProperty(
        path="path"
    )]
)
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.quicksight.*;

AnalysisErrorProperty analysisErrorProperty = AnalysisErrorProperty.builder()
        .message("message")
        .type("type")
        .violatedEntities(List.of(EntityProperty.builder()
                .path("path")
                .build()))
        .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.QuickSight;

var analysisErrorProperty = new AnalysisErrorProperty {
    Message = "message",
    Type = "type",
    ViolatedEntities = new [] { new EntityProperty {
        Path = "path"
    } }
};
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"

analysisErrorProperty := &AnalysisErrorProperty{
	Message: jsii.String("message"),
	Type: jsii.String("type"),
	ViolatedEntities: []interface{}{
		&EntityProperty{
			Path: jsii.String("path"),
		},
	},
}

Properties ​

messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string #
The message associated with the analysis error.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The type of the analysis error.
violatedEntitiesoptionalIResolvable | IResolvable | CfnAnalysis.EntityProperty[]violated_entitiesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EntityProperty]]]violatedEntitiesoptionalIResolvableViolatedEntitiesoptionalIResolvableViolatedEntitiesoptionalinterface{} #
Lists the violated entities that caused the analysis error.