github.com/aws-cloudformation/cloudformation-cli-go-plugin@v1.2.0/examples/github-repo/template.yml (about)

     1  AWSTemplateFormatVersion: "2010-09-09"
     2  Transform: AWS::Serverless-2016-10-31
     3  Description: AWS SAM template for the Example::GitHub::Repo resource type
     4  
     5  Globals:
     6    Function:
     7      Timeout: 60  # docker start-up times can be long for SAM CLI
     8  
     9  Resources:
    10    TypeFunction:
    11      Type: AWS::Serverless::Function
    12      Properties:
    13        Handler: handler
    14        Runtime: go1.x
    15        CodeUri: bin/
    16        # Uncomment to test with AWS resources
    17        # Environment:
    18        #   Variables:
    19        #     AWS_FORCE_INTEGRATIONS: "true"
    20  
    21    TestEntrypoint:
    22      Type: AWS::Serverless::Function
    23      Properties:
    24        Handler: handler
    25        Runtime: go1.x
    26        CodeUri: bin/