Class Context
- java.lang.Object
- 
- software.amazon.smithy.aws.cloudformation.schema.fromsmithy.Context
 
- 
 public final class Context extends java.lang.ObjectSmithy to CloudFormation conversion context object.One context is used per CloudFormation resource generated. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CfnResourcegetCfnResource()Gets theCfnResourceindex data for this resource.CfnConfiggetConfig()Gets the configuration object used for the conversion.JsonSchemaConvertergetJsonSchemaConverter()Gets the JSON schema converter.ModelgetModel()Gets the Smithy model being converted.java.lang.StringgetPropertyPointer(java.lang.String propertyName)Gets the JSON pointer string to a specific property.ResourceShapegetResource()Gets the resource shape being converted.StructureShapegetResourceStructure()Gets the structure shape that represents the consolidated properties of the resource.ServiceShapegetService()Gets the service shape containing the resource being converted.
 
- 
- 
- 
Method Detail- 
getModelpublic Model getModel() Gets the Smithy model being converted.- Returns:
- Returns the Smithy model.
 
 - 
getServicepublic ServiceShape getService() Gets the service shape containing the resource being converted.- Returns:
- Returns the service shape.
 
 - 
getResourcepublic ResourceShape getResource() Gets the resource shape being converted.- Returns:
- Returns the resource shape.
 
 - 
getCfnResourcepublic CfnResource getCfnResource() Gets theCfnResourceindex data for this resource.- Returns:
- Returns the CfnResource index data.
 
 - 
getResourceStructurepublic StructureShape getResourceStructure() Gets the structure shape that represents the consolidated properties of the resource.- Returns:
- Returns the structure shape.
 
 - 
getConfigpublic CfnConfig getConfig() Gets the configuration object used for the conversion.Plugins can query this object for configuration values. - Returns:
- Returns the configuration object.
 
 - 
getJsonSchemaConverterpublic JsonSchemaConverter getJsonSchemaConverter() Gets the JSON schema converter.- Returns:
- Returns the JSON Schema converter.
 
 - 
getPropertyPointerpublic java.lang.String getPropertyPointer(java.lang.String propertyName) Gets 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.
 
 
- 
 
-