Class Context
java.lang.Object
software.amazon.smithy.aws.cloudformation.schema.fromsmithy.Context
Smithy to CloudFormation conversion context object.
 
One context is used per CloudFormation resource generated.
- 
Method SummaryModifier and TypeMethodDescriptionGets theCfnResourceindex data for this resource.Gets the configuration object used for the conversion.Gets the JSON schema converter.getModel()Gets the Smithy model being converted.getPropertyPointer(String propertyName) Gets the JSON pointer string to a specific property.Gets the resource shape being converted.Gets the structure shape that represents the consolidated properties of the resource.Gets the service shape containing the resource being converted.
- 
Method Details- 
getModelGets the Smithy model being converted.- Returns:
- Returns the Smithy model.
 
- 
getServiceGets the service shape containing the resource being converted.- Returns:
- Returns the service shape.
 
- 
getResourceGets the resource shape being converted.- Returns:
- Returns the resource shape.
 
- 
getCfnResourceGets theCfnResourceindex data for this resource.- Returns:
- Returns the CfnResource index data.
 
- 
getResourceStructureGets the structure shape that represents the consolidated properties of the resource.- Returns:
- Returns the structure shape.
 
- 
getConfigGets the configuration object used for the conversion.Plugins can query this object for configuration values. - Returns:
- Returns the configuration object.
 
- 
getJsonSchemaConverterGets the JSON schema converter.- Returns:
- Returns the JSON Schema converter.
 
- 
getPropertyPointerGets the JSON pointer string to a specific property.- Parameters:
- propertyName- Property name to build a JSON pointer to.
- Returns:
- Returns the JSON pointer to the property.
 
 
-