(context)
return Resources()
Generate template config based on python objects.
Generate template config based on python objects.
Generate template config based on python objects .
def GenerateConfig(context):
  """Generate template config based on python objects."""
  properties = context.properties
  compute_resource_util.SetContext(context)

  ComputeResource('hc', compute_constants.HEALTHCHECKS, {
      'type': 'TCP',
      'tcpHealthCheck': {
          'portName': 'hc-port',
          'port': properties['port']
      }
  })

  return Resources()
def GenerateConfig ( context ) : properties = context . properties compute_resource_util . SetContext ( context ) ComputeResource ( 'hc' , compute_constants . HEALTHCHECKS , { 'type' : 'TCP' , 'tcpHealthCheck' : { 'portName' : 'hc-port' , 'port' : properties [ 'port' ] } } ) return Resources ( )