public final class Context
extends java.lang.Object
One context is used per CloudFormation resource generated.
Modifier and Type | Method and Description |
---|---|
CfnResource |
getCfnResource()
Gets the
CfnResource index data for this resource. |
CfnConfig |
getConfig()
Gets the configuration object used for the conversion.
|
JsonSchemaConverter |
getJsonSchemaConverter()
Gets the JSON schema converter.
|
Model |
getModel()
Gets the Smithy model being converted.
|
java.lang.String |
getPropertyPointer(java.lang.String propertyName)
Gets the JSON pointer string to a specific property.
|
ResourceShape |
getResource()
Gets the resource shape being converted.
|
StructureShape |
getResourceStructure()
Gets the structure shape that represents the consolidated properties of the resource.
|
ServiceShape |
getService()
Gets the service shape containing the resource being converted.
|
public Model getModel()
public ServiceShape getService()
public ResourceShape getResource()
public CfnResource getCfnResource()
CfnResource
index data for this resource.public StructureShape getResourceStructure()
public CfnConfig getConfig()
Plugins can query this object for configuration values.
public JsonSchemaConverter getJsonSchemaConverter()
public java.lang.String getPropertyPointer(java.lang.String propertyName)
propertyName
- Property name to build a JSON pointer to.