timestream/template.yaml [186:230]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      ],
                    ]
                - Effect: Allow
                  Action: iot:Publish
                  Resource:
                    !Join [
                      "",
                      [
                        "arn:aws:iot:",
                        !Ref "AWS::Region",
                        ":",
                        !Ref "AWS::AccountId",
                        ":topic/",
                        !Ref TopicError
                      ],
                    ]



  

  TimestreamDatabase:
    Type: AWS::Timestream::Database
    Properties:
      DatabaseName: !Sub ${AWS::StackName}LoRaWANDatabase

  TimestreamTableTelemetry:
    Type: AWS::Timestream::Table
    Properties:
      TableName: !Sub ${AWS::StackName}LoRaWANTelemetryTable
      DatabaseName:
        Ref: TimestreamDatabase
      RetentionProperties:
        MemoryStoreRetentionPeriodInHours: '24'
        MagneticStoreRetentionPeriodInDays: '5'
  
  TimestreamTableMetadata:
      Type: AWS::Timestream::Table
      Properties:
        TableName: !Sub ${AWS::StackName}LoRaWANMetadataTable
        DatabaseName:
          Ref: TimestreamDatabase
        RetentionProperties:
          MemoryStoreRetentionPeriodInHours: '24'
          MagneticStoreRetentionPeriodInDays: '5'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



timestream_for_transform_binary_payload/template.yaml [162:204]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                      ],
                    ]
                - Effect: Allow
                  Action: iot:Publish
                  Resource:
                    !Join [
                      "",
                      [
                        "arn:aws:iot:",
                        !Ref "AWS::Region",
                        ":",
                        !Ref "AWS::AccountId",
                        ":topic/",
                        !Ref TopicError
                      ],
                    ]



  TimestreamDatabase:
    Type: AWS::Timestream::Database
    Properties:
      DatabaseName: !Sub ${AWS::StackName}LoRaWANDatabase

  TimestreamTableTelemetry:
    Type: AWS::Timestream::Table
    Properties:
      TableName: !Sub ${AWS::StackName}LoRaWANTelemetryTable
      DatabaseName:
        Ref: TimestreamDatabase
      RetentionProperties:
        MemoryStoreRetentionPeriodInHours: '24'
        MagneticStoreRetentionPeriodInDays: '5'
  
  TimestreamTableMetadata:
      Type: AWS::Timestream::Table
      Properties:
        TableName: !Sub ${AWS::StackName}LoRaWANMetadataTable
        DatabaseName:
          Ref: TimestreamDatabase
        RetentionProperties:
          MemoryStoreRetentionPeriodInHours: '24'
          MagneticStoreRetentionPeriodInDays: '5'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



