interface CloudFormationResourceJson
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.CloudFormationResourceJson |
Java | software.amazon.awscdk.cloudassembly.schema.CloudFormationResourceJson |
Python | aws_cdk.cloud_assembly_schema.CloudFormationResourceJson |
TypeScript | @aws-cdk/cloud-assembly-schema » CloudFormationResourceJson |
A node in the construct creation stack trace.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const cloudFormationResourceJson: cloud_assembly_schema.CloudFormationResourceJson = {
logicalId: 'logicalId',
templatePath: 'templatePath',
// the properties below are optional
propertyPaths: ['propertyPaths'],
};
Properties
| Name | Type | Description |
|---|---|---|
| logical | string | The logical ID of the resource in the CloudFormation template. |
| template | string | The path to the CloudFormation template containing this resource. |
| property | string[] | Properties within the construct where the violation was detected. |
logicalId
Type:
string
The logical ID of the resource in the CloudFormation template.
templatePath
Type:
string
The path to the CloudFormation template containing this resource.
propertyPaths?
Type:
string[]
(optional, default: no locations)
Properties within the construct where the violation was detected.
Either a single component, in which case it regards a top-level property
name, or a JSON path (starting with $.) to indicate a deeper property.

.NET
Java
Python
TypeScript