Interface CloudFormationResourceJson
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudFormationResourceJson.Jsii$Proxy
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-06-16T16:14:35.342Z")
@Stability(Stable)
public interface CloudFormationResourceJson
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cloud_assembly_schema.*;
CloudFormationResourceJson cloudFormationResourceJson = CloudFormationResourceJson.builder()
.logicalId("logicalId")
.templatePath("templatePath")
// the properties below are optional
.propertyPaths(List.of("propertyPaths"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCloudFormationResourceJsonstatic final classAn implementation forCloudFormationResourceJson -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The logical ID of the resource in the CloudFormation template.Properties within the construct where the violation was detected.The path to the CloudFormation template containing this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogicalId
The logical ID of the resource in the CloudFormation template. -
getTemplatePath
The path to the CloudFormation template containing this resource. -
getPropertyPaths
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.Default: - no locations
-
builder
- Returns:
- a
CloudFormationResourceJson.BuilderofCloudFormationResourceJson
-