integration/resources/templates/combination/function_with_all_event_types.yaml [13:45]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Resources:

# S3 Event without condition, using same bucket
  FunctionOne:
    Type: AWS::Serverless::Function
    Properties:
      InlineCode: |
        exports.handler = async () => ‘Hello World!'
      Handler: index.handler
      Runtime: nodejs18.x
      Events:
        ImageBucket:
          Type: S3
          Properties:
            Bucket:
              Ref: Images
            Events: s3:ObjectRemoved:*

# All Event Types
  MyAwesomeFunction:
    Type: AWS::Serverless::Function
    Condition: MyCondition
    Properties:
      InlineCode: |
        exports.handler = async () => ‘Hello World!'
      Handler: index.handler
      Runtime: nodejs18.x
      AutoPublishAlias: Live
      Events:
        CWSchedule:
          Type: Schedule
          Properties:
            Schedule: rate(1 minute)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



integration/resources/templates/combination/function_with_all_event_types_condition_false.yaml [8:40]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Resources:

# S3 Event without condition, using same bucket
  FunctionOne:
    Type: AWS::Serverless::Function
    Properties:
      InlineCode: |
        exports.handler = async () => ‘Hello World!'
      Handler: index.handler
      Runtime: nodejs18.x
      Events:
        ImageBucket:
          Type: S3
          Properties:
            Bucket:
              Ref: Images
            Events: s3:ObjectRemoved:*

# All Event Types
  MyAwesomeFunction:
    Type: AWS::Serverless::Function
    Condition: MyCondition
    Properties:
      InlineCode: |
        exports.handler = async () => ‘Hello World!'
      Handler: index.handler
      Runtime: nodejs18.x
      AutoPublishAlias: Live
      Events:
        CWSchedule:
          Type: Schedule
          Properties:
            Schedule: rate(1 minute)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



