src/RedshiftAutomation/deploy.yaml [258:279]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  SystablesEventRule:
    Type: "AWS::Events::Rule"
    Properties:
      Description: CloudWatch Events Rule to invoke Redshift Automation - System Tables Persistence
      Name: InvokeLambdaRedshiftRunner-SystemTablesPersistence
      ScheduleExpression: !Sub cron(${SysTablesCronExpression})
      State: ENABLED
      Targets:
        - Arn: !GetAtt LambdaRedshiftAutomation.Arn
          Id: SystemTablePersistenceUtility
          Input:
            !Sub |
                {
                  "ExecuteUtility":"SystemTablePersistence",
                  "ConfigLocation":"${S3ConfigPath}"
                }
  CWEventsInvokeSystablesPermission:
    Type: 'AWS::Lambda::Permission'
    Properties:
      FunctionName: !GetAtt LambdaRedshiftAutomation.Arn
      Action: 'lambda:InvokeFunction'
      Principal: events.amazonaws.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/SystemTablePersistence/deploy-systable-standalone.yaml [110:131]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  SystablesEventRule:
    Type: "AWS::Events::Rule"
    Properties:
      Description: CloudWatch Events Rule to invoke Redshift Automation - System Tables Persistence
      Name: InvokeLambdaRedshiftRunner-SystemTablesPersistence
      ScheduleExpression: !Sub cron(${SysTablesCronExpression})
      State: ENABLED
      Targets:
        - Arn: !GetAtt LambdaRedshiftAutomation.Arn
          Id: SystemTablePersistenceUtility
          Input:
            !Sub |
                {
                  "ExecuteUtility":"SystemTablePersistence",
                  "ConfigLocation":"${S3ConfigPath}"
                }
  CWEventsInvokeSystablesPermission:
    Type: 'AWS::Lambda::Permission'
    Properties:
      FunctionName: !GetAtt LambdaRedshiftAutomation.Arn
      Action: 'lambda:InvokeFunction'
      Principal: events.amazonaws.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



