interface ViolatingConstructJson
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.ViolatingConstructJson |
Java | software.amazon.awscdk.cloudassembly.schema.ViolatingConstructJson |
Python | aws_cdk.cloud_assembly_schema.ViolatingConstructJson |
TypeScript | @aws-cdk/cloud-assembly-schema » ViolatingConstructJson |
A construct that violated a policy rule.
Properties
| Name | Type | Description |
|---|---|---|
| construct | string | The construct path as defined in the application. |
| cloud | Cloud | If this construct violation regards a CloudFormation resource, a reference to the resource details. |
| construct | string | The fully qualified name of the construct class (includes the library name). |
| library | string | The version of the library that contains this construct. |
| stack | string[] | Stack traces associated with this violation. |
constructPath
Type:
string
The construct path as defined in the application.
cloudFormationResource?
Type:
Cloud
(optional)
If this construct violation regards a CloudFormation resource, a reference to the resource details.
constructFqn?
Type:
string
(optional, default: no construct info)
The fully qualified name of the construct class (includes the library name).
libraryVersion?
Type:
string
(optional, default: no version info)
The version of the library that contains this construct.
The library name is the first component of the construct FQN.
stackTraces?
Type:
string[]
(optional, default: No stack traces)
Stack traces associated with this violation.
This can be all the stack traces where a violating property got its value, or just the construct creation stack trace.
Every element of the array is a stack trace, where each stack trace is a \n-delimited string.

.NET
Java
Python
TypeScript