# AnalysisErrorProperty

Analysis error.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `message`: string — The message associated with the analysis error.

- `type`: string — The type of the analysis error.

- `violatedEntities`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.EntityProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.EntityProperty.html)[] — Lists the violated entities that caused the analysis error.
